If you have linked your Microsoft account to the Windows 10 digital license before then Install a fresh copy of windows 10 using a bootable USB with the latest ISO image and reactivate the windows by using your MS account. If you have the product key, use it for activating and if not then you might have to call Microsoft Support.
Check here for windows 10 media creation tool: https://www.microsoft.com/en-us/software-download/windo...
Check the below links:
https://support.microsoft.com/en-us/help/20530/windows-...
Peace.