What should I do if I have stomach pain and vomit when I eat something hard?

Eating hard things on the stomach pain and vomiting should be considered gastroenteritis, irritable bowel syndrome and other diseases, it is recommended to carry out drug treatment and physical adjustment. 1. Drug treatment: when the patient due to gastroenteritis caused by gastrointestinal dyspepsia, eating hard, poorly digested food will appear stomach pain and vomiting and other discomforts, at this time it is recommended to take to promote gastric dynamics of the drug to promote gastrointestinal peristalsis, accelerate the digestion and absorption of food, such as mosapride, domperidone and so on. When there is irritable bowel syndrome caused by the above performance, it is recommended to take haloperidol melittin tablets for relief. 2. Physical regulation: if the patient because of enteritis caused by the above phenomenon, it is recommended to massage the abdomen, hot compresses on the abdomen, to promote abdominal circulation, accelerate the gastrointestinal movement, accelerate the digestion and absorption of stomach content. All of the above medications should be used under the guidance of a doctor, avoid self-medication.