Usually you're advised to be there at least 2 hours earlier to have enough to time for the check-in, luggage on-boarding, security check and other steps needed for you to be ready to attend the flight. Of course, you're totally free to reach the airport last minute, but you'll miss your journey.