Chosen Solution

The upper half of my phone has started getting very hot

If its on the left side its probably your battery overheating it’s going to have to be repaired. Before you repair it check your battery health.