And if the above doesn't work, use the new Windows Update Troubleshooter.
You can launch it by running this command:
ms-contact-support://smc-to-emerald/WindowsUpdateTroubleshooter
Note: The above command needs the "Get Help" app to be installed. On some systems, it may be missing, but you can get it from the Store.