This strategy allows your ulcer to heal and reduces the chance it will come back.Take all of your medications exactly as prescribed.If you have a peptic ulcer with an H. pylori infection, the standard treatment uses different combinations of the following medications for 5 - 14 days:Two different antibiotics to kill H. pylori, such as clarithromycin (Biaxin), amoxicillin, tetracycline, or metronid