Chosen Solution

Alright so heres the thing, I was chatting with people on discord on my iPhone 11 when it suddenly turned off, after few seconds, it turned back on, and then after 3 seconds it turned off again and now its stuck turning off and on every 3 seconds, I tried factory resetting it but I don’t have much time to make it erase, and everytime it keeps turning off and on the back keeps getting warmer and warmer. Help!

First thing you should try is put the phone into DFU Mode and reset the device if possible. if this option fails there is most likely a hardware fault causing this, i have seen recently that slightly liquid damaged Face ID speaker flexes cause this to happen. If you are able to open the phone yourself unplug the battery and faceID speaker flex and see if you can get the phone to boot.