ALUMINUM HYDROXIDE; MAGNESIUM HYDROXIDE; SIMETHICONE (a LOO mi num hye DROX ide; mag NEE zhum hye DROX ide; sye METH i kone) treats occasional heartburn, indigestion, upset stomach, or other conditions caused by too much stomach acid. It works by reducing the amount of acid in the stomach.