Hi Glez. I'm Greg, 10 years awarded Windows MVP, here to help you.
Unless you are unable to install any Updates then Windows Update doesn't need to be repaired, it's just the one Update which if you try to manually install from Updates catalog and it still fails, you need to uninstall it in Update History or by running System Restore, then immediately run Hide Updates tool to find and hide the update before it reinstalls again:
https://www.tenforums.com/tutorials/8280-hide-s..., Install this now so you are ready.
Then you can try reinstalling it in a month or two, or wait until it's rolled into the next Feature Update when the problem usually doesn't repeat.
I have helped others do this thousands of times in Windows 10 and never had any problems result.
Feel free to ask back any questions. Based on the results you post back I may have other suggestions if necessary.
______________________________________________
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.