The easiest way to upgrade for XP to Windows 8.1 is to download and use "Windows 8.1 Upgrade Assistant". But remember, you will not be able to keep your settings and files, so back them up. The tutorial about upgrading is published here: windows.microsoft.com/en-us/windows-8/upgrade-from-windows-vista-xp-tutorial