Using Optimize Disc Function

It says there are errors on my operating system. When I click on Fix, it says to click on Restart Computer.

When I click on that my computer won’t restart so the disk isn’t fixed.