Buy a new PC if you can't afford one get a used PC with Windows 10 on it.
XP is was great for it's time but Microsoft has issued 4 new major OS's since then vista,7,8,10 Microsoft does not even support XP anymore and announced end of life on vista. so using those OS's don't get patches for security vulnerabilities anymore. A good used PC with Windows 10 can be purchased for on the low end for $100 to $150 bucks... That is around what you would pay for just the Windows 10 software so getting a whole PC (desktop PC tower) with 10 on it for that price is awesome. That is my suggestion dump your XP pc and look around ebay,blinq, or even staples for a used one.