Set Bios to boot from CD as first boot device.
Boot with the XP CD in the drive and enter setup
At the option - delete all partitions - create one for your Op system and format it.
When windows up and running install the drivers for all your equipment - graphics - modem - card readers etc. order of driver install really doesn't matter I usually do motherboard first, graphics second.