PS4 SLIM, turns on for few seconds

My PS4 Turns on for few seconds I get output screen on my TV, then fan starts spinning like crazy and turns off immediately.
When I press the power button it flashes blue then I get output on my screen it changes to solid white, fan spins since I power PS4 on and spins faster and faster and after few seconds it shuts down

It’s overheating. Did you take it apart just before that? If so, you probably didn’t install the APU clamp properly. This can happen if you install it upside down. Just happened to me the other day.