What hardware are you running in your setup? Motherboard, CPU, GPU, RAM Capacity and speed, PSU make and model, OS, and type of storage. All of that information would help diagnose what is actually going on with your PC. I got tired of having to type my specs so I put it all in my signature.
Ryzen 7 7800X3D, ASUS ROG STRIX X670E-F GAMING WIF, G.SKILL TRIDENT Z NEO 2x16GB DDR5 DRAM 6000MT/s CL30, AMD Radeon RX 7900 XTX, LIAN LI EDGE 1300, Corsair MP600 PRO NH 4TB