Inform yourself about the safety reputation of your airline on Airline Ratings.
Avoid flying with one of the carriers listed on the European Union’s black list. The latter represents a list of (unsafe) airlines banned within the EU.
Know your rights when your flight is delayed, cancelled or overbooked.
Know your rights when your luggage is delayed or lost.
Check the website of your departure airport and find out what to do. Spending time at the airport doesn’t need to be boring, as more and more airports start offering extensive shopping facilities, museums, and spas.