What’s wrong with the hardness and pain in the middle of my stomach?

The middle of the stomach is hard and painful when pressed, the possible diseases are acute peritonitis, pyloric obstruction, intestinal obstruction, etc..
1. Acute peritonitis: acute inflammation of the peritoneum caused mainly by bacterial infection (such as Escherichia coli, hemolytic streptococcus, staphylococcus, etc.), chemical stimulation (such as gastric reflux), physical injury (such as abdominal trauma) and other stimuli. The most important manifestations of this disease are abdominal pain, rebound pain, and plank abdomen.
2. Pyloric obstruction: commonly seen in peptic ulcer healing scar tissue formation, gastric stone, ectopic pancreas, corrosive scarring stenosis, gastric tumors and other diseases, can be induced to cause pyloric obstruction. The main manifestations are nausea, vomiting, abdominal pain, abdominal distension, swelling in the middle of the epigastrium and other symptoms.
3. Intestinal obstruction: it is commonly caused by intussusception, inflammatory stenosis, tumor, roundworm obstruction, foreign body, fecal mass, etc. The main manifestations are abdominal pain, vomiting, stopping defecation, abdominal distension, and long (intestinal)-like plate.
In addition to the above causes, intestinal tumors, liver occupying lesions, etc. can also cause the above symptoms. It is recommended to consult a doctor in time to identify the cause of the disease and to carry out regular treatment under the supervision of a doctor. The above medications should be applied under the guidance of a doctor or pharmacist, avoiding self-medication.