First try System Restore to go back to a time before you had the problem.
Click Start, All Programs, Accessories, System Tools, System Restore
If that doesn't work, try an in-place upgrade (aka repair installation); instructions can be found here:
http://support.microsoft.com/default...&Product=winxp