If your stomach hurts when you’re hungry and you don’t feel pain when you eat some food, it’s mostly due to gastritis or peptic ulcer, and you need to take medication in time. If there is gastritis or peptic ulcer, when hungry because there is no food to digest, only to secrete a large amount of gastric acid, the gastric mucosa caused by the stimulation, thus causing pain, need to take acid-suppressing drugs in a timely manner, for example, omeprazole, pantoprazole, can generally relieve the burning sensation of the stomach, the feeling of pain. In addition, it is also necessary to promote gastric power drugs and gastric mucosa protective agents. Among them, gastric stimulating drugs generally have mosapride and domperidone, which can promote gastrointestinal peristalsis and help digestion. Gastric mucosal protective agent has aluminum sulfate, bismuth potassium citrate, can promote mucosal repair. The stomach hurts when you are hungry, and it doesn’t hurt when you eat some food, which may also be a normal physiological phenomenon. It is recommended to go to the hospital in time to find out the cause and then cooperate with the doctor to take treatment.