Since travelling by plane can be very uncomfortable when you have an ear infection, it is best to avoid flying whenever you are feeling ill. It is especially important if the ear infection is making it harder to clear your ears as this means you are more likely to experience problems.