Always make sure that there's adequate airflow when you're using your laptop. Avoid using your laptop in bed or on a carpet. And never use pillows as padding as they can block the air vents of your laptop

Lastly, overheating of your laptop may occur due to extreme exposure to direct hot sunlight. High temperatures may cause a computer to overheat due to an expansion of hard drive and battery damage. Therefore, you should keep your laptop in the shade whenever temperatures are high. When your laptop is shutting down and experiencing serious slowdowns as a result of overheating, it’s advisable to get it repaired as soon as possible.