If your iPhone is frozen, perform a hard restart by pressing and quickly releasing the volume up button, then the volume down button, and finally holding the side button until the Apple logo appears.