Is my phone broken or does it need to be reset?

My phone was fine until i went to the pool and i think it got overheated and now it won't let me turn the phone off, I can't close the home screen and I can't open any apps by clicking them. If i want to text or go on Instagram or snapchat i have to swipe up from the bottom and go on my recently used apps if that makes any sense. I have an Iphone XR. Did it overheat to the point where it broke? Or do i need to reset the phone at the apple store?

Call Apple for the warranty support you already paid for.

Try a reset first.

Become famous on Instagram from Followfans.com

Try this