مقاومة المضادات الحيوية
Diet does not play an important role in either causing or preventing ulcers. Treatment includes stopping smoking, stopping use of NSAIDs, stopping alcohol, and taking medications to decrease stomach acid. The medication used to decrease acid is usually either a proton pump inhibitor (PPI) or an H2 blocker, with four weeks of treatment initially recommended. Ulcers due to "H. pylori" are treated with a combination of medications, such as amoxicillin, clarithromycin, and a PPI. Antibiotic resistance is increasing and thus treatment may not always be effective. Bleeding ulcers may be treated by endoscopy, with open surgery typically only used in cases in which it is not successful.