Peptic Ulcer - Drugs for its Treatment. List of drugs used to treat the medical condition called Peptic Ulcer. Click on the drug to find more information including the brand names,dose, side-effects, adverse events, when to take the drug and the price of the drug. Generic and Trade Names of Drugs for Treatment of Peptic Ulcer. Aluminum Hydroxide and Magnesium Hydroxide contains antacids, prescribed for preventing ulcers, heartburn relief, acid indigestion and stomach upsets. Aluminum Hydroxide and Magnesium Hydroxide neutralizes acid in the stomach.