Question: Can changes to my diet help prevent or treat a peptic ulcer?
Answer: Researchers have not found that diet and nutrition play an important role in causing, preventing, or treating peptic ulcers. Doctors do not recommend following a special diet or avoiding specific foods or drinks to prevent or treat ulcers.

If you smoke, quitting smoking can lower your risk for developing ulcers and help existing ulcers heal.