Use this guide to reinstall Win 10 on your new SSD.
Use DVD or USB.
PS, scroll down to "create Win 10 installation media".
My ssd died with my os on it and I don’t have the windows 10 disk or key. So if I buy a new ssd and plug that in will I also have to buy windows 10 again?