Generic Amoxil is used for treating infections caused by certain bacteria. It is also used with other medicines to treat H. pylori infection and ulcers of the small intestines. Amoxil is a penicillin antibiotic. It works by killing sensitive bacteria.
Generic Prevacid decreases the amount of acid produced in the stomach. It is used to treat and prevent stomach and intestinal ulcers, erosive esophagitis (damage to the esophagus from stomach acid) and other conditions involving excessive stomach acid such as Zollinger-Ellison syndrome.