It's pretty simple. You just need an OS disc.
1. Change the boot order in the bios to boot off the optical drive first.
2. insert the OS disc into the drive
3. restart pc
4. you should then see a message to 'hit any key to continue'.
5. windows will start the format and install process