Question My pc started stuttering(while playing games) 5 months after I built it

Dec 3, 2018
15
0
10
So i built most of the pc 5 months ago(specs in the comments) and a couple of weeks ago i had 2 power surges that made the pc freeze every 9 to 10 seconds so i had to reinstall windows and most of the problems were gone except for the fact that now all the games that ran perfectly a month ago,are stuttering and having weird issues.I tried checking the temps and they seem mostly fine,and have done some hardware tests that showed that everything is supposed to be working ok.And now after trying all the different nvidia panel settings i could im left frustrated as i dont know if i need to replace any hardware or maybe im just doing something wrong?