The phenomenon of pain and hardness when the stomach is pressed is a manifestation of bloating, indigestion, and irregular diet, and the common cause may be chronic gastritis, gastric ulcer, need to go to the hospital for relevant examination in a timely manner, if necessary, gastroscopy to clarify the cause, and then take appropriate measures. Common causes and treatments 1, chronic gastritis: there is repeated damage to the gastric mucosa, the general symptoms are more insidious, if drinking alcohol or eating irritating food, etc. resulting in indigestion, can trigger gastritis, pain when pressed, bloating performance, accompanied by loss of appetite, acid reflux and other performance. For this type of chronic gastritis, if there are symptoms, can be taken to remove the cause, diet, medication and Chinese medicine treatment, etc., in the absence of symptoms can not be treated; 2, gastric ulcer: gastric ulcer is also an inflammatory defect in the gastric mucosa, but its lesions penetrate the mucosal muscle layer or to a deeper layer, generally after pressure and eating, bloating, epigastric discomfort such as dull pain, burning pain, and indigestion performance. The aim of gastric ulcer treatment is to relieve and eliminate symptoms, promote ulcer healing, prevent ulcer recurrence, and reduce the occurrence of complications. In severe cases, surgical treatment is possible. Precautions For the above two diseases, dietary regimen is very important. Avoid long-term consumption of irritating food, such as rough, hard, cold and spicy food; avoid overeating and regular meals at regular intervals; avoid drinking strong tea and coffee during treatment, prohibit alcohol consumption and ensure sufficient rest.