Download the Media Creation Tool provided by Microsoft at https://www.microsoft.com/en-us/software-download/windows10. Click on Download Tool Now. Run the installation then choose if you want to keep your files and programs.
After installation is done the PC will show Windows 10 Home. Go to the Activation screen in your PC settings and click on change product key. Enter the new product key to unlock the Pro version of Windows 10.