Do you have win 10 installer now?
You may need to buy a new licence to upgrade to win 10, when Win 10 first came out there was a free upgrade path but I am not 100% sure if it works or not anymore. It was supposed to end a year or so ago.
You can download the
Windows 10 media creation tool and run it to upgrade PC, it might still work.