Make sure the computer is completely offline. Go to Change product key in settings.
Settings > System > Activation >Upgrade your edition of Windows > Change product key. Enter the generic product key VK7JG-NPHTM-C97JM-9MPGT-3V66T and follow any prompts. This should start the process to upgrade from Home to Pro.
Once completed restart and go back online.
Use your product key for the licence you purchased in Settings.
If you have a digital only licence from Microsoft make sure you are using the same account to sign-in to windows as you have to purchase the licence. Windows Pro should activate using your licence.