Here are some things to do if your phone overheats and shuts down:
- Check to see if the phone is in a well ventilated area.
- Clean the vents of your phone to make sure air is able to flow freely.
- Disable certain app, such as gaming apps, that often cause overheating.
- Make sure your phone isn't near any other objects that generate heat.
- Allow your phone to cool down if it feels hot.
- Replace the battery if it starts to show signs of wear.