You don't say what is wrong. You can reinstall XP using the install CD. It will reinstall the operating system and will preserve your files. (You will probably have to install some of your other software again, but it is less work than formatting your disk and starting again.)
Mike L, June 2005