You can try using ginger and mixing it with one teaspoon of lime juice. If you take it right after you have eating, it should relieve gas. Celery seed i believe is also a quick relief.
Gas as well as bloating is usually the result of inadequate digestion. Peppermint, prepared as a tea, and ginger, used in its leaf form, have been shown to relieve gas.
Dont eat anything green. It has been said that any type of vegetable or food that is green can give you painful gas. Sucking or drinking pepermint can also help as well as eating something that contains ginger.