How Do I Automatically Repair Windows Problems?

Fix problems with Startup Repair, a Repair Install, or Reset This PC

Screenshot of the Advanced Options Menu in Windows 10
Advanced Options Menu in Windows 10.