Well, something like that kept happening to my old computer like 3 years ago, but it turned out to be dust in the vents and it overheated because the vents were clogged with dust. Try clearing the vents and see what happens.