Stomach pain can be caused by irregular eating habits or stomach diseases, etc. Daily attention should be paid to regular diet, small and frequent meals, and avoid spicy and irritating, too hard food. 1. Adopt good dietary habits: small and frequent meals, 5-6 meals per day, avoiding over-starvation and over-fullness, paying attention to regularity, and consuming foods with high nutritional value and easy to digest, which can help to reduce the stimulation to the stomach and relieve the pain symptoms. 2. Avoid spicy and irritating food: mainly including chili, pepper, wine, etc. Such food is easy to stimulate the gastric mucosa and aggravate the symptoms of stomach pain. 3. Avoid hard food: hard food is not easy to digest, can increase the burden on the stomach, stimulate the stomach to produce more stomach acid, aggravate the symptoms of stomach pain, such as nuts and so on. Stomach pain should pay attention to diet, avoid spicy stimulating, hard food, quit smoking and alcohol, regular diet, and timely consultation, under the guidance of the doctor, combined with the relevant examination to identify the cause of the disease, to give targeted treatment, so as not to delay the condition.