As a rule, for flights within the EU, you should be at the airport at least one hour before departure. For long-haul flights, two hours. Most importantly, always follow your airline's rules. You can shorten the waiting time if you check in online and travel without checked baggage.