Question: how to fix your iphone when it just shuts off?
Answer: One of the first things you should do if you're having a problem with your iPhone is to reset it. You can do this by pressing and holding both the Sleep/Wake and Home buttons for at least 10 seconds. Don't release the buttons until you see the Apple logo. You can also check the video to see how it is done.