In chronic and acute gastritis, it is important to exclude foods that irritate the gastric mucosa and increase the inflammatory process.