medications contain antacid and simethicone that help neutralize stomach acid which help relief symptoms of excess stomach acid like heartburn , indigestion and relieve flatulence