Ulcer patients should develop a routine of eating three regular meals, and two to three small snacks daily. 1  Include foods rich in starch and fiber. 2  Include milk protein in your diet. 3  Avoid overeating, and also going long periods without eating. 4  Avoid eating stale or expired foods. 5  Chew your food carefully.