Sudden stomach a little pain is associated with food irritation, stomach cramps, gastritis, and gastric ulcers. There are many foods that are irritating, such as chili, onion, ginger, and garlic, and after the intake of these foods, the irritating substances can invade the gastric mucosa, thus causing a sudden pain in the stomach. The onset of gastric cramps is related to a variety of factors, such as improper emotions, improper diet, and cold in the stomach, etc. The onset is based on sudden spasmodic contraction of the smooth muscle of the stomach wall, thus causing sudden pain in the stomach, but most gastric cramps are self-limiting, and the pain does not last too long. In patients with gastritis, when eating coarse food, the food rubs against the mucosa of the stomach wall during digestion, thus causing sudden pain in the stomach. In patients with gastric ulcer, once there is excessive secretion of gastric acid and the acid comes in contact with the ulcer surface, it will also be accompanied by sudden pain because of local irritation.