Write an article based on this summary:

Take a course of antibiotics, as prescribed. Take acid-protectors. Take proton pump inhibitors (PPIs).
Since H. pylori is a bacteria, it may be successfully treated with a short course of antibiotics lasting from 10 to 14 days. Follow your doctor's instructions for how to take the antibiotic and make sure to take the full course, even if you start to feel better. Your doctor may prescribe:  Amoxicillin Tetracycline (for adults and children over 12 years old) Metronidazole Clarithromycin While you're taking antibiotics, your doctor will also recommend that you take acid-protectors. These will not cure the bacterial infection on their own, but they may keep your ulcer from getting worse. They will also give your stomach lining time to heal.  Your stomach naturally produces acid to aid in digestion, but when you have an ulcer the acid can cause further damage. Most often, doctors will prescribe Bismuth subsalicylate, or Pepto Bismol. It coats the stomach to protect it from acid. It also helps kill the bacteria.  The amount and frequency will vary based on which antibiotics you are taking. Your doctor will also prescribe a PPI. These medications prevent acid production by inhibiting the "pumps" in stomach cells that activate gastric acid secretion.  In most cases, you'll receive a prescription for Lansoprazole. The amount and frequency of doses will depend on which antibiotics you are taking. Children may prescribed Omeprazole, 1 mg/kg divided twice daily (to a max of 20 mg twice daily) for 14 days.