Many have complained that the iPhone freezes randomly after updating your computer. This problem is almost equal to the first so we'll have to back up and restore the system.
solution
Press the rest button and home button until the Apple logo appears on the screen. Backup and Restore iPhone.