Buying a ticket should be done as soon as possible, but especially before the airline’s departure time. Airlines often sell out quickly, so it is important to get your tickets as soon as possible.