Phones get warm when charging, gaming or using the camera. Too much heat is a warning.
Normal: warm during fast charging or heavy games, cooling down soon after.
Not normal:
1. Hot when idle and not charging.
2. Too hot to hold, or a burning smell.
3. Hot along with fast battery drain or a lifting screen.
What to do:
1. Remove the case and stop charging.
2. Close heavy apps and turn off hotspot.
3. Move out of the sun.
4. If it stays hot when idle, check for a swollen battery or a short on the board. Bring it to a technician.
Never cool a hot phone in a fridge or freezer: moisture can form inside.