My iPhone 5 froze completely?

My iPhone 5 froze completely and the buttons won't work the battery droped from 90 to 0 so I put it on the charger and it shut off and now it turned back on but nothing works and then it shuts off and back on I just don't know what's going on with it.

Hi I'm an Apple Developer and I'm here to help!
Your phone seems to be having some very suspicious activity. As I'm not there in person and I have no videos to see what is exactly happening, all I can suggest is to restart your phone. You won't lose any data or anything in this process. To do this, start with the phone on, then hold down the sleep/wake (power) button and home button at the same time until you see the phone restart. This will try and fix the phone for you.
If this doesn't work, take it into my colleagues at your local Apple retail store!

I can't restart it the buttons won't work and its turning on and off.

  • My safari froze on my iPhone? So, it's frozen. I can't do anything, like it's frozen. I can't open a new tab. I can't write anything. Please help me @Beautiful: I can't, it takes a picture. I don't know if I'm doing it right lol (still frozen) @Zuko: It says to turn power off after 10 seconds or cancel what do I press? (And no Apple logo showed up) @Zuko: Nevermind it worked thanks so much
  • My IPhone works completely fine sometimes but a lot of times I can't use it and it's completely unresponsive to my touch? I scheduled an appointment to fix my very cracked screen and I was just wondering if this will fix my problem for sure or is there something else that may be causeing the screen to be unresponsive?
  • My iphone messages app froze I spammed my friend to thepoint my messages app froze. I turned it off and on and it still doesn't work. Its been about 10 minutes now what do i do?
  • My iPhone froze! What do I do I can't turn it off or do a hard reset. It has a blank screen but i still can see the time, and battery. ITS BEEN LIKE THIS SINCE 9:00 AT NIGHT UNTIL NOW (8:00) Please Help I already pressed the power button & square button. It does not do anything.