There are many places where you can buy Mega Man X. The best options for tracking it down are websites like Amazon and eBay, which list both new and used copies.
Because Mega Man X is a classic title, availability can vary by platform and edition. Browsing these marketplaces is a reliable way to find the version you want and add it to your collection.