IPhone is stuck at apple logo?

I was on my phone just browsing around when all of a sudden it started to really lag and freeze up. I decided to let it charge for a bit so i plugged it in and let it charge. It worked perfectly fine until i entered my home page again. It started freezing up and on the instagram app it said "cleaning… " so i deleted it. Because it was freezing i decided that maybe if i turned it off and back on again it will work as usual. But this time when i tried to turn it back on it stayed on the apple logo. And i even tried the whole hold down the home + power button for 12 seconds. I really don't want to restart it because i didn't save a project and i can't risk to loose it. How do i fix it? Do i have to restore it? I'm freaking out and it won't start back up!

Added (1). Btw… I have an iPhone 4S

This happened to me once, my phone was off for two days straight and I wasn't able to turn it back on. But it started working after 2 days. I know I'm not being helpful, but all I'm trying to say is DON'T FREAK OUT!

If you backup your iphone everytime you connet to itunes, then you won't have any problem. Just connect and restore.

  • My iPhone is stuck on the apple logo (the loading screen) It won't turn off and if it does it automatically turns itself off within 5 seconds. I don't know what to do. I've tried following several steps from various websites and i'm at a loss.anybody have any extra tips?
  • My iPhone is stuck on the apple boot logo. How do I get it off? I have an iPhone 4 (jailbroken on 5.1.1), and I decided to let the battery die and charge it up again. When I started to let it charge, it started up with the boot logo and it started showing the spinning wheel loader and it kept repeating. I manually restarted it, and this is now happening. Is there any way to get out of it? (Without updating to iOS 6 )
  • My iPhone is stuck on apple boot logo? My jailbroken iPhone 4S is stuck on the white apple boot logo. I'm trying to use redsn0w to restore it and the newest redsn0w doesn't support the 5.1.1 recovery. What is the most recent version that works with the new version of redsn0w?
  • My iphone 4 is stuck on the apple logo? , i was trying to download a cydia app and i don't know how to fix it.whenever i press the home and the power button it turns off for a few seconds then it restarts again please help! I tried to recover from itunes, its still doing the same thing >.< It worked!