I recently built a gaming pc and it was working fine and I used to play a lot of games on it and there was no problem but recently my pc started shutting down immediately within 5 mins and it doesn't turn on. PC only turns on if I connect it to ups but if I connect it to the mains supply it doesn't even turn on. I tried everything but it shuts down every time. Please HELP
My pc specs are
i5 9400f
nvidia rtx 2060
msi z390 gaming plus mobo
hyperx kingston fury 2666mhz 8gb ram x2
wd 1tb hdd
wd 240gb ssd
crucial 500gb nvme
corsair cx cp9020103 650w psu
corsair h60 aio cooler
APC 1100va/660w UPS
My pc specs are
i5 9400f
nvidia rtx 2060
msi z390 gaming plus mobo
hyperx kingston fury 2666mhz 8gb ram x2
wd 1tb hdd
wd 240gb ssd
crucial 500gb nvme
corsair cx cp9020103 650w psu
corsair h60 aio cooler
APC 1100va/660w UPS