Here’s a tutorial on updating to SP3 if you’re on Windows XP.
The service pack includes all of the previous updates, so instead of downloading the updates one by one after a reformat, do this and you can do it all at once by using this method.
Windows XP SP3 Update