steam..steam..steam!your earache is most probably caused by all the inflammation in your eustachian tubes, however, if it persists, it might be a wise precaution to have your ears checked for infection if you are flying.
im afraid i dont know the protocol for taking medicines on board a plane