Tech
If your iPhone is heating, do not charge it, as pumping more electricity into the device is going to accelerate the heating. Wait until the device cools down.
If your device is heating, remove the protective case, as it traps the heat and further damages the iPhone. Removing the case lets the device cool down quickly.
Avoid playing games on your device, especially during hot hours of the day, to ensure better battery health. Overheating iPhone can reduce battery health, causing quick discharge.
Downloading too many applications can also cause overheating of the iPhone, as it consumes processing power and storage in the phone, causing it to heat up.
If you see your device is overheating, turn it off and leave it alone for a while. It will cool down on its own after an hour or two.
Turning off your GPS can also help with avoiding overheating the phone. Turn off the location, as GPS can also create heat.
If possible, let it cool down under an AC or a fan. It might help accelerate the process of cooling.