Hi!
The main thing about food and flying lies in... physics
Every mass has it's own inertia - the greater the mass, the greater the inertia. Translated into human body, if you go flying, every force on your body will significantly displace your empty stomach, resulting in severe uncomfort and like in your case - throwing up. Next time you go flying try to eat a lunch (lunch, not a sandwich or a snack) two hours before flight (so that food has time to settle down in stomach) and see if you feel any better.
As for any medication, I cannot give you any advice, since the "food trick" worked for me and actually, I have a feeling I fly better when I'm full than empty. But the most important thing is to have fun, the sickness is probably combination of food, stress and excitement of flying and should pass soon