Question Computer freezing after upgrading cpu

Aug 27, 2019
2
0
10
I bought desktop computer back in November of 2018. Everything has work fine ever since I bought it. Around a month ago I wanted to upgrade as my old cpu (Ryzen 3 2200G) to a better one. So with the help of one of my friends we installed my new cpu (Ryzen 5 2600X) into my computer. We didn’t have a problem installing it but once I turned it on and starting playing stuff my pc will just freeze, I have no control of the keyboard and mouse and I’m forced to restart it. I thought it was my pcu being faulty or not producing enough power so yesterday I got a brand new pcu unit and it still freezes doing the same exact thing. I think it has to due with my gpu but I’m not for certain.
Any help would be greatly appreciated!
Specs:
Cpu: Ryzen 5 2600x
Gpu: Nvidia GeForce GTX 1050ti
Motherboard: ASRock A320m
Pcu: Corsair RM850x
Ram: Corsair vengeance lpx series 2x8 sticks