Get to the airport 2 hours before for a domestic flight or 3 hours before for an international. That way you have plenty of time to get through security and checkin without rushing, and you can just sit at a cafe and enjoy a coffee or light meal. Get to the gate 45 minutes before your flight.