IPhone 5 keeps restarting by itself

Please Help! My iPhone 5 has no issue or anything, dropped it a few times but it still works perfectly fine. The day before yesterday, i was using my phone, then randomly, it restarted by itself, so the apple logo showed up, i thought it was normal but i have waited for 2 hours! Then some error with numbers showed up with the apple logo, i was freaking out, i didn't know what to do, then it turned off, black screen, then i used my charger to turn it on (cause my power button doesn't work) so it was lowbatt and the red battery showed up in the screen, then after a few minutes, the apple logo showed up again, for 2 hours I've waited, then again, the error showed up, then finally it came back again, i could use it again, then after 30 minutes, it restarted by itself, AGAIN. This keeps on happening. I don't really know what to do. Please help me. I don't know if the battery of the phone has a problem? Or something inside the phone needs to be replaced? What should i do?

To start with save your phone to your laptop

make sure you save all pictures aswell

then. Once you have established you know all your Wi-Fi passwords and other setups wipe the phone - do a master reset including reload the software

reload everything

hopefully life has returned to normal - if not, its the hardware - look for a new phone

  • My iphone keeps restarting itself alone has full battery? My i phone (i think 3 generation has camera in front) keeps on turning white and restarts itself has battery i'm not doing anything.plus when it restarts it just show my slide bar but the screen of my iphone turns dark then bright then dark then normal as i had set it. I did not jail break it.
  • My iPhone 4S keeps restarting itself? Earlier on today, my phone died at 40%, when I switched it back on whilst charging it (took around 20 minutes) it was on 6% and then died, I charge it again and it was really low. I left it for a while and it went to 60% and mysteriously to 53%. Now it keeps restarting, I've tried doing the hard reset (holding the power and home button) but I've had no luck. Why is my phone doing this and how can I solve the problem?
  • My iPhone 4s' brightness is turning itself low by itself? - 1 How do I fix this? Is it a bug? I have the iOS 6.1.3 installed. I did drop it in water like 2 weeks ago but I made sure all the water came out, my step mom dropped her phone in the toilet like a year ago and till this day it works perfectly fine! So why is mine having problems?
  • My iPhone 3GS keeps restarting automatically? My iPhone 3GS keeps restarting it is not turning on without a charger when I charge it it keeps turning off and on in seconds then it goes back on then off all my apps are moved. But I don't really want to remove all my data and all that as a new iPhone. When I remove it from charger its not even turning on.