Question Pc shutting off when launching games

Aug 21, 2019
2
0
10
At first my pc ran well. But after a few months the pc sometimes just shut off in a game randomly. I thought it was a heat problem so I bought soms fan and installed them but know when I launch a game it just shuts off after a few secs. Do you guys know what's happening?