Hi,
If you bought it on X-plane.com, you just need to download the installer from the same website, follow the instructions, and enter your product key when launching X-Plane.
If you bought it on Steam, everything is managed through Steam interface, once you are logged in.