Yes if u wiped your computer and did a reinstal of windows xp that would fix the problem. however you would lose all your info on that partition or drive.
but before u start u need to have alll the things you need.
something that looks very similar to this

make sure its not faded and write it down on a sheet.
now make sure you have the right disk. if it came with the computer it should be correct
if not on that same sticker i mention above it will say
windows home
windows Professional
XP Media Centre
make sure you have the correct disk to match the copy.
after the install you need to make sure u have all the drivers.
britec09 has done videos on this subject.
after you have all the drivers installed connect to the web and head over to windows update.

update your machine fully
fiannly head over to
http://ninite.com/were you can selct many useful programs that are free
id recommend avast or AVG as an antvirus.
any issres or questions please reply back