Initially you should google the specific error number you have and see if any of the solutions clear the problem.
Here's a useful link for general Windows Update problem resolution:
https://support.microsoft.com/en-us/kb/971058.
Windows update can be a weird thing - I had one Windows server 2008 system that would not update because there was no valid time source specified.
SD