If your iPhone isn't responding and you're not able to power it off and then on again, you can force restart it to hopefully ...
Whether you're having trouble connecting to your iPhone, receiving notifications ... and then press and hold the side button again until the Apple logo appears. Then release it and wait for ...