Amphojel works by neutralizing stomach acid, which helps to alleviate discomfort from conditions like acid indigestion and gastroesophageal reflux disease (GERD). It does not prevent acid production but reduces symptoms by acting on the acid already present in the stomach.