Activating license

I had Trados Studio 2017 in mu computer and had to format it.. How can I activate my license again?