raidmax rx-530ssbrand and model of the psu?
cpu/gpu temp?
pc freshly format sir 2 times still got this issue of lag. I don't know much about computer sir.Could be incorrectly installed drivers, too much power draw for PSU, or thermal throttling. Check if CPU cooler is correctly attached and also, if you're advanced enough, take apart the GPU and check if it is properly cooled on all of the RAM chips and the GPU itself.