Hey there Armatä,
Thanks so much for using Apple Support Communities. We're happy to help you figure out what might be going on with your iPhone.
To start, does this issue continue to occur if you reboot your iPhone? You may need to try to perform a force restart, which you can do by following the steps here: Force restart iPhone - Apple Support. We will also copy the relevant information below for easy access:
If iPhone isn’t responding, and you can’t turn it off then on, try forcing it to restart.
1. Press and quickly release the volume up button.
2. Press and quickly release the volume down button.
3. Press and hold the side button.
4. When the Apple logo appears, release the side button.
If the issue continues to occur after rebooting, then we would recommend that you look into having your iPhone inspected in person. This would be the best way to determine if a physical repair or replacement may be necessary to get your device working again. Here is where to start: iPhone Repair & Service - Apple Support
We hope that this information is helpful.
Have a great day!