You use BootCamp, like barhar said -- it's a program from Apple that will repartition your hard drive (Windows needs it's own partition), format it, burn you a Windows driver disk for the Apple hardware (to be installed booted into Windows after you've installed Windows), then allow you to boot from the Windows XP SP2 Install CD and install Windows XP as you would on any other PC.