How to upgrade to First Class?

I heard that it's easy to get free or cheap upgrades to first class when traveling. Anyone have any tips on how this is done?