Ps4 Shuts off says its hot i just turned it on

Ps4 original seems to shut off unexpectedly. When I go to open a non disc game the game loads then says the ps4 is hot but it aint then beeps 2 or 3 times then turns off. I opened it and cleaned it but it was already clean since I’ve only have it for 3 month got it at game stop refurbished. It even shuts off on a disc game too but only if I’m doing certain things like (gta casino heist once I get to the vault it says its too hot). But i can play gta for hours without it saying that the Ps4 is hot. Please help with any suggestions thank you.

Apply new thermal paste, check on youtube how to do it.