Don’t place your iPhone directly into cold air such as in the fridge.
This can cause condensation to form on the inside of your phone, causing internal water damage.
Check your iPhone for crashing apps.

Certain apps that are crashing in the background on your iPhone could be causing your phone to overheat.
To check, go toSettings>Privacy>Analytics>Analytics Data.
See an app crashing often?

Delete the app and try another one.
Or, delete the app and download it again.
Don’t want to lose your favorite app?
Conduct a quick online search to find comparable apps for your iPhone.
refresh your iPhone appsthat need updating.
There are some apps that don’t update automatically.
Outdated apps with bugs can drain your iPhone’s power, causing overheating.
Check for apps using all of your iPhone’s battery and draining your iPhone’s CPU.
Go toSettings>Battery, then check the list of apps.
Is there an app using a lot of your battery or draining it quickly?
It’s time to delete it and replace it.
ensure your iPhone is updated byinstalling any new updates.
An outdated iPhone can cause an overloaded CPU, resulting in overheating.
It’s critical to keep your iPhone updated each time a new update is released.
Check your iPhone’snetwork connection.
This can happen in areas with bad service or when Wi-Fi isn’t detected.
Try changing the brightness of your iPhone’s screen.
Sometimes, having your iPhone’s brightness on the maximum level can cause it to overheat while in use.
Simply access theiOS control centerand use the brightness slider to decrease it.
Remove widgets running in the background of your iPhone.
When multiple widgets work in the background at once, it can overload the CPU.
Try turning offbackground app refresh.
Background app refresh allows your apps to look for new information at all times.
When all of your apps refresh together, it can drain your iPhone’s CPU.
Try toreset your iPhone’s prefs.
This might be helpful in finding a rogue app or a problematic setting.
it’s possible for you to reset your iPhone’s configs without losing any data.
Considercompletely resetting your iPhoneback to its original state.
you could also try aforced restart.
Check your iPhone’s charger.
Do you use a charger that isn’t Apple certified?
Cheap chargers purchased from different companies or online have the potential to be defective.
Use the original Apple charger that came with your phone, or order a new one.
Call the Apple Genius Bar andschedule an appointment.
In fact, there are many reasons why your gear might feel warm at times.
If you experience a warm iPhone, simply let it cool before continuing to use it.
If your iPhone overheats, stop using it immediately.
Completely turn it off.
You should allow your unit time to cool down to avoid any further damage.
you might troubleshoot once your iPhone is cool.