Re-installed operating system. How do I transfer license

My PC OS became totally corupted and I had to re-install the OS. I have downloaded the Internet Security software but need to transfer the license across. Please advise how.

https://support.avast.com/en-us/article/270/