Low FPS in CS:GO despite good PC?

I sometimes play CS:GO, but whenever i play it now, my fps is super low, even tho my PC is really good and i get 300 FPS in CS2, and i didn't cap my FPS. How to fix?