Wiping out a PC

that seems liek it just erases temp files. i want to just wipe out everything, and instal windows xp