Hi,
If you get an error code while downloading and installing Windows updates, the Update Troubleshooter can help resolve the problem. Make sure you have internet access, then run or download the Update Troubleshooter version that matches your version of Windows:
Select Start > Settings > Update & Security > Troubleshoot, then select Windows Update under Get up and running, and then select Run the troubleshooter.
If the problems aren't all resolved, try running the troubleshooter again to check for additional errors. Or see Fix Windows Update errors and follow the troubleshooting steps below:
https://support.microsoft.com/en-us/help/10164/fix-windows-update-errors
Hope above information can help you.