Depending on your skill level, it might be worth opening it and checking the internals. Cooling system works, airflow not obstructed, etc. Probably also worth checking the thermal compound of the processor. But that’s not something a beginner would be happy to try. Maybe take it to a repair cafe, if there’s one near you?