Avoid the last return flight so you won’t risk having to spend the night, often without compensation for hotel and transportation.
To stay ahead of the game, research the average delay time for a particular flight, check the length of the lines at security checkpoints before you leave, and review airport statuses across the country.