My pc randomly restarts when I’m playing games like Valorant, this problem has occurred in the past and I fixed it somehow by reapplying thermal paste, but it stopped working again 2 weeks later.
CPU: Ryzen 5 3600x
GPU: GTX 1650 4gb
Motherboard:MSI B450 gaming plus max
PSU:Thermaltake smart 500w 80+