Upgrade which first, Norton or Windows ?

Some advice please for a non-tech.

I'm ready to replace Windows 8.1 with Windows 10.
I also need to renew my subscription with Norton, from Norton Security to Norton Security Deluxe 5 Device.

Any advice on which I should do first please, Norton or Windows ?