For any software, purchasing a legitimate copy or subscribing through official channels is always the recommended approach. This ensures not only a legal but also a safe computing experience, free from malware and other risks associated with pirated software.
If you need Microsoft Flight Simulator X help, I can instead: