Suck sweets as the plane is climbing and descending, then the pressure within the ear will be naturally equalised (the 'popping' that you'll feel).