Hi! Please make sure you’re signed in with an administrator account. Then run Settings > System > Troubleshoot > Other troubleshooters > Windows Update.
If the issue persists, please try the steps listed here for your error code:
https://support.microsoft.com/en-us/windows/troubleshoot-problems-updating-windows-188c2b0f-10a7-d72f-65b8-32d177eb136c