Your post is too light on details. No words about the age, model and such of the machine. Some older machines never had the cover off and when we open it up the insides are filled with "dust bunnies". The heatsinks have fans on them which collects dust and bunny hair resulting in an overheated computer.

A simple cleaning can do wonders for these, but without details, its not clear if this is your issue.