If you understand that your pain is gas pain then you can take gas medicine. You can talk to your doctor about gas and painkillers. Eat it if it hurts a lot. You can also eat any good syrup. Doing these can reduce gastric pain a little. You can also take medicine if you have pain from diarrhea. And with a little salt-sugar water you can eat. If you have constipation, eat a good syrup. If you play all these things regularly, you will not have constipation. So there will be no more stomach ache. If the cause of abdominal pain is not normal gastric, talk to a doctor and take medicine. And it is very important to be in regular treatment. If vomiting , fever comes with abdominal pain then it is a concern. If not, general treatment is enough. However, following the doctor's advice.