My iPhone 11 Pro Max is glitching
I got my iPhone 11 in may and its been working perfectly fine. This morning I was able to use it and then I was trying to connect it to a Bluetooth speaker when it just stopped working and wouldn't let me open any apps. I could still scroll through my home pages and open the notification center but no apps. Then I tried to go and turn it off but it wouldn't let me. After a few seconds it would make an alarm sound. I don't know what to do.
iPhone 11 Pro Max, iOS 14