Consider an over-the-counter remedy.

Numerous products may help alleviate the discomfort of gas rapidly. One well-known medication called simethicone is marketed under the following brand names:
Mylanta Gas-X Phazyme Gas
Any woman who is expectant or taking other medications must discuss simethicone use with her doctor or chemist. Do not take any medication without a prescription from your primary care physician or doctor.