if u r running xp u will atleast have SP1.
to upgrade to SP2, just get an OS CD that says Win XP SP2. Run it from the desktop and clik install winxp then select upgarde.
note u must have the product key for installation.
You could also download SP2 and run it.
let me know how it goes.