First of all, you need to know the reasons for the system being overheated. Overheating can be due to lack of proper ventilation, broken fans and other cooling devices, and high electrical current. If improper ventilation is the reason behind the system overheating, then you should make sure that the vents are open and the cooling system is intact. If high electrical current is the reason, then you should get your system checked by a heating and cooling expert. If the fans are broken or not working properly, then you should also get them replaced by a professional.
Check here.