For the most part, if you book a nonrefundable fare — the most common fare type — you'll receive a credit or voucher for a future flight. However, you'll find that some airlines charge a fee to cancel, and they might base the fee on how far in advance you cancel.