A few days ago I touched the option of the graphics fans in the amd radeon software and that's why the games started to go wrong, then I reset everything to the factory but it turns out that now it is worse, I have fps jerks from a moment to Another step of 144fps to 40fps out of nowhere and I tried to uninstall the drivers and reinstall them and nothing happens, I ask for your help because I don't know much about this, also I have the pc less than 2 months I hope you can help me.
The components of my pc are
i5 9400f
16 ram (3200)
480gb ssd only
tuf z390 plus gaming motherboard