How do you fix an iPhone with a black screen spinning wheel?

How do you fix an iPhone with a black screen spinning wheel?

- Press and quickly release the volume + button. And then press and quickly release the volume minus button. - Hold the side button until the Apple logo appears and release the side button.