Iphone keeps turning on by itself and i cant turn it off.

My phone turns on every 10-15 seconds after it goes into sleep mode. Also i cant turn it off. When i try to turn it off it immediately turns itself back on. i need help!!

thanks,
joel😕
Try soft resetting your phone.
It is plugged into charger if so it will keep turning on
It is plugged into charger if so it will keep turning on

Not the case. Plugging it in will turn it on for a moment, and then it will go back into sleep mode.

Original thread: https://forums.imore.com/threads/iphone-keeps-turning-on-by-itself-and-i-cant-turn-it-off.172084/