Are you getting bsod or just random errors? What is reporting the bad sys files?
right click start button
choose command prompt (admin)
type SFC /scannow and press enter
this scans system files and may fix this behaviour
once its run, even if it finds no errors, copy/paste below into same window
DISM /Online /Cleanup-Image /RestoreHealth
SFC fixes sys files, DISM fixes the files SFC uses to fix files. So if SFC had errors before DISM, re run it again and restart PC afterwards