This is something that is best suited to find a guide and follow that. But basically you'll need a seperate partition on your hard drive to install Windows XP to. You'll need to make sure there is enough space in both partitions for Windows to use and that you won't run out.
It might be easier (depending on what you want to have XP for) to download VirtualBox (free) and install XP into that and run it virtually.