IPhone 5 turned off randomly and won't turn back on?

So basically, I was waiting for the train to come. I called my friend and then after I called him, I accidentally tapped an app then it freeze. The next thing I knew it was turned off. I tried to turned it on but it did not help. I pressed the home button and the sleep button at the same time but it did not work. :/ Please help. By the way it's summer in my country, does that mean my phone overheated? But it wasn't hot when I touched it.
Please don't tell me I have to send it to Apple or else I will receive tons of swear words from my dad. What do I do?

Don't just push the home button and the sleep button hold them down together while it is plugge into your charger and if that doesn't work call your phone carrier

Try hooking it to the power charger for a while and see if it powers on. If it does great. If it doesn't then there's no other help for you other than to take it to the nearest Apple Store to see if it can be fixed.
Since you didn't drop it or get it wet it is still covered under the warranty and as such your father shouldn't complain too much as it will not cost him a dime to get it fixed.
I know, My iPhone 4 conked out on me after a month of use. Took it to the Apple store, they doinked around with it for 10 minutes and finally came back and said that it was dead and that they're getting me a new one.
In and out time… 20 minutes.

Press your home and sleep button together and hold it for 15seconds.

What happenes if it does not work then

IPhone 5 turns on but stays at screen that shows the apple logo, then turns off again

My iPhone 5c turned off and when I tried to turn it on it showed a light black like it was turned on but nothing was there. Then I held the hoe and power button to shut it off and when I tried to turn it on nothing happened and I've been going online and did everything every website said but nothing has worked. Got any ideas?

Home and power button for at least 15 sec or more worked for me this time.

Plug phone to charger, press home and sleep button together and hold it for 15 seconds, it worked for me, thank you

Yep holding the two buttons down worked, thanks

Holding the two buttons worked too.

  • My Iphone 4 shut off randomly and won't turn back on? - 1 I've searched the internet and found the same answer: hold the sleep/wake button and the home button at the same time to reset the phone. Now the only bad thing is that my sleep/wake button is broken… So I have no idea what to do. I have the latest iOs update. I don't know maybe it will randomly turn itself back on
  • My laptop randomly shut off and now it won't turn back on? What's wrong with it? Do I have to buy a new one? I'm so confused. P.S. I'm typing this from my iPhone. I took the battery out and now it's working again. Yea! If I put the battery back in though, will it still work?
  • My iPhone turned off by itself and turned back on while using a app? When I was on YouTube my phone just shutted off by itself then turned on. Is there something wrong with the phone. Also when I click my home button one time the phone sometimes wouldnt come on till the second click. What can I do?
  • My iPhone turned off and won't turn back on? I set my phone down while i was on the computer, didn't use it for like 15 minutes, and when i looked at it the screen was black and it shut off. It was on like 80% battery so it didn't die. I tried plugging it in to the charger to see if i could get it to turn back on but it will not turn on. I don't know what happened!