One traditional Iranian remedy for preventing gas is to drink a cup of hot water 30 minutes before breakfast. Some older research suggests chamomile or ginger tea may help, but there is not enough evidence to confirm this.
It may also be a good idea to:
wait at least 1 hour after eating food before drinking
avoid or limit carbonated beverages
avoid drinks with high fructose corn syrup and other artificial sweeteners
avoid drinking through a straw