If you formatted (erased) the drive and installed XP, you'll need to get a Vista DVD, partition your hard drive (If you don't have a socond drive) then install the two OS's, one on each partition. Vista is aware and can install as dual boot.
You can get a Vista DVD here for $7
https://na.windowsanytimeupgradestor.../Purchase.aspx