You have to buy 10 and clean install it over Vista.
First thing to do is to make sure that you have the correct system requirements and that your Computer Manufacturer supplies the correct Drivers for 10 for your Model Number.
"Windows 10 System Requirements"
https://www.thurrott.com/windows/windows-10/3884/windows-10-system-requirements
https://www.microsoft.com/en-US/windows/windows-10-specifications#sysreqs
If you read those Microsoft's system requirements for 10, you will find that if you only go on them you will be sadly disappointed in performance.
You should at least double what they say.
@@@@@@@@@@@@@@@@@@@@@@
Detailed information on Minimum hardware requirements:
@@@@@@@@@@@@@@@@@@@@@@
Some Manufacturers have listed Model Numbers tested with 10 at their website:
HP Products Tested with Windows 10
@@@@@@@@@@@@@@@@@@@@@@