You can do what is called a Repair Install by following the directions here but only if you have a M$ Made Install Disc if you have a Dell Recovery Disc you [b]Can Not[/b] use this method.
http://support.microsoft.com/kb/315341
[b]Do Not[/b] Format the HDD or all of the Data will be lost. But if the previous OS is heavily infected the likelihood of this actually allowing the system to load let alone boot is remote.
What you need to do is remove the HDD from the computer fit it to a USB Caddy and then connect it to a Protected Computer that can read this HDD and copy all of the Data off the Drive to some decent Backup Media where you can recover it latter.
After you have all of the Data Backed up you need to Wipe the HDD with a Utility like Boot & Nuke
http://www.dban.org/
And wipe the HDD completely destroying any sign of infections that are on the HDD. This will require several hours to complete as it writes zeros to every sector of the HDD overwriting everything on it. If you just Format the HDD with the Full Format it only writes to every Third Sector leaving 2/3 of the HDD untouched and the ability for infections to reappear.
If you use the Quick Format Option available in XP this only rewrites the Partition Table Information and doesn't touch the remaining Disc Area so this is even more likely to have a reinfection occur.
So basically you need to copy the Data off the Drive with a heavily Protected OS or one that isn't affected by Windows Viri, wipe the HDD and then reinstall from scratch to a blank HDD just like was done when this was first built.
Col