1 Antacids containing simethicone, a foaming agent that joins gas bubbles in the stomach so that gas is more easily burped away.  Activated charcoal — to be taken before and after meals; it may cause some harmless side effects, including constipation and black stools.