Just like you would not like to sunbathe in the Sahara similarly don’t leave your iPhone in direct sunlight for a long period of time.
Remove the case
Remove the case
Sometimes, because of those fancy cases, heat from the device gets trapped which disrupts heat dissipation. Keep your iPhone exposed to the air to breathe.