Fix and prevent iPhone freezes and crashes

If your iPhone is really confused, even holding down the Sleep/Wake button may have no effect. In such cases, you can generally force the iPhone to restart by holding down the Sleep/Wake and Home buttons simultaneously for around 10 seconds.