Iphone stuck on apple logo and keeps turning off?

I can't get past the apple logo on my iphone. It won't go to the homescreen-j ust immediately turns off and repeats in this loop. How do i fix this? I don't wanna loose any of my contacts, data, etc, but if i have to reset everything, i just need a way to at least keep the contacts. Well, any suggestions?

Its because the battery is completely dead so you have to bring it to a place and they will put a new battery

  • Why is my iPhone 5 turning off and not turning back on? This has happened twice now. My iPhone 5 has turned off in the middle of the night with a full charge and off the charger, and when I try to turn it back on it takes a couple tries. Has anybody experienced this?
  • My iPhones sound keeps Turing keeps turning off? Well for a while now my music will randomly turn off and I go to the app and there's so sound bar what so ever… And then I restart my phone and my music or keyboard sound still won't turn on… What do I do now?
  • My iphone won't turn on, the apple logo keeps coming on and then off? My phone randomly wouldn't come back on, so when I got home I connected it to a USB, ever since all that comes up is the apple logo and then it goes off again and keeps repeating, it won't switch on and I don't know why, please help Also my top right button, used to unlock the phone is also broken
  • My iPhone keeps turning on and off like it turns on and off. Can someone tell me? Okay tbms it turns on and off on and off and then sometimes it shows a red screen for a few seconds then off again and dies out. It's not the battery because I got that changed thinking that it was the cause and it wasn't. So is there anything someone can help me with? The repair guy tried restoring it through iTunes he said it didn't work either it just won't come on it doesn't go pass the Apple logo before shutting off and on again and dying out