What’s wrong with a stomachache and vomiting blood?

Stomach pain and vomiting blood may be gastric ulcer with bleeding, duodenal ulcer with bleeding, rupture of varicose veins in the fundus of the stomach bleeding, and so on.
1. Gastric ulcer with bleeding: gastric ulcer is an ulcerative lesion that occurs on the surface of the gastric mucosa, the onset of which is mostly related to Helicobacter pylori infection, which can form ulcer surfaces of varying sizes on the gastric mucosa, and when the condition is more serious or when a large amount of alcohol is consumed, it can lead to bleeding on the ulcer surfaces, accompanied by a strong stomach pain.
2. Duodenal ulcer with bleeding: Duodenal ulcer is an ulcerative lesion occurring in the mucosa of the duodenum, and when the ulcer surface is deeper, it can cause stomach pain and bleeding, and the blood can be spit out through the mouth.
3. Varicose vein rupture and bleeding in the fundus of the stomach: mostly caused by portal hypertension, a large amount of blood overflows from the ruptured fundus of the stomach vein, which is manifested as stomach pain, vomiting blood, blood in the stool and so on.
There may be other reasons for stomach pain and vomiting blood, such as acute gastritis, stomach tumor, etc. You can go to the hospital for relevant examinations to clarify the condition.