I’ve found that sometimes you just have to wait, but if it takes a significantly long time try the following:
- Click the start button and type in services.msc
- Stop the Windows Update Service.
- Delete the contents of the C:\Windows\SoftwareDistribution folder
- Start the Windows Update Service.
- Try Windows Update again.