be a gold card holder in the airlines freq flyer scheme is usually the best way if the econ cabin is full, they would be first to be upgraded
You can with a lot of airlines now do "on the day upgrades" which yes they do charge for but it is usually a lot less than paying for the seat at the beginning