If your peptic ulcer isn't caused by H. pylori, you won't need antibiotics. Instead, your doctor may recommend treatments for your specific situation.