Hi, and thanks for reaching out. My name is Miguel O., Sorry to hear you're experiencing this issue!
Please check the link below, it has the official guide for doing what you are asking for
Windows Update Troubleshooter
https://support.microsoft.com/en-us/windows/win...
If your problem persists or the problem is fixed please let me know!
Give back to the Community. Help the next person who has this issue by indicating if this reply solved your problem. Click Yes or No below.