The standard treatment for a peptic ulcer and an H. pylori infection uses a combination of medicines that you take for 5 to 14 days.
- Most people will take two types of antibiotics and a proton pump inhibitor (PPI).
- These medicines may cause nausea, diarrhea, and other side effects. Do not just stop taking them without talking to your doctor first.
If you have an ulcer without an H. pylori infection, or one that is caused by taking aspirin or NSAIDs, your doctor will likely prescribe a proton pump inhibitor for 8 weeks.
Taking antacids as needed between meals, and then at bedtime, may help healing also. Ask your doctor about taking these medicines.
Talk to your doctor about your medicine choices if your ulcer was caused by aspirin, ibuprofen, or other NSAIDs. You may be able to take a different anti-inflammatory drug. Or, your doctor may or have you take a drug called misoprostol or a PPI to prevent future ulcers.