If you have an ulcer, chronic gastritis or gastroesophageal reflux disease or have recently had a surgery on your digestive tract, your doctor may place you on a bland diet. On this diet, you’ll need to avoid all foods that are spicy, highly seasoned, high in fiber or difficult to digest.