To use DISM command, you need to open Command Prompt with admin rights. Then, you need to type in the following command:
DISM.exe /Online /Cleanup-image /Restorehealth
This command will scan for corrupt files and then repair them.