[SOLVED] Past couple of weeks my pc has been horrible at gaming, and i get sudden fps drops.. Idk how?

May 5, 2020
1
0
10
I have a pre-build pc, which i ordered, and its been fine for 1 year, and about 4 months. Idk if it helps, but..
Graphics card: GeForce GTX 1050 Ti
Processor: Intel Core i3-7100
8gb ram.

I cant run even csgo like i used to.. High settings 300 fps. Now it goes to maybe 120 and then about 8 seconds and it drops to 13, then back to like 80 and that's it. I've been thinking about refreshing windows 10 to the newest version.. Can anybody tell if that would work / what would work?