Open Command Prompt as administrator.
Run each command separately.
Wait for each command to finish before running the next one:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Restart the PC.
Synthera Docs