No, putting on headphones before takeoff does not work. On the other hand, using filtered earplugs, yawning and swallowing, or chewing gum may help.