you need to set the boot order first.
press Del key to enter the BIOS and set the Boot order to boot from CD first.
put the Windows XP installation CD in the drive and then restart the laptop.
press any key when you are prompted to do so.
follow the installation wizards.