It depends what you mean by upgrading, and what OS you want to end up on!
I assume that - as it's on XP - it's a relatively old system, therefore it will be worth bearing in mind the minimum requirements for the various versions of Windows that you're looking to upgrade to.