How to i install ubuntu so that i can dual boot?

I want to install Ubuntu, and my computer has no partitions. But i want to keep XP, i don’t want to do a clean install. How do i set up the partitions, should i do it manually? How do i mount the partitions? This is my first time doing this kind of thing.