Question Computer turns on and off immediately

Aug 2, 2019
1
0
10
So my cimputer has been going good for around a year now. One day i had a blue screen and had to reinstall windows 10. After that it went smooth for around 2 weeks again. Yesterday i started it and all the cookies in the browsers were gone and my task bar was empty. I wanted to restart the pc but it didn't go beyond the BIOS boot. Since then, everytime i start the pc, it starts for half a second and instantly switches off and then tries to boot by itself but gets switched off again immediately every time.

Specs:
Corsair vengeance lpx(8gb,ddr4-3200,dimm 288)
Intel core i5 8600k(6,lga 1151, 3.60GHz)
Wd-black(2tb)
GTX960
Msi Z370 pro pc(Lga 1151 Intel Z370, ATX)