Hello and welcome to e health forum.
From the description, it seems that you probably have a gastric ulcer and associated gastrocolic reflux, which causes you to have bowel movements within a short time of having your food.
When we eat we stimulate activity throughout our digestive system, helping to move stool through âthe gut ready to be pushed out. But a sensitive bowel reflexes results in stronger contractions that cause undigested food to be excreted via bowel movements.
Some medications like Imodium (loperamide) in lower doses might be helpful to reduce the âhypermotility of the intestines and control the diarrhea.
If this does not help, you might consult a gastroenterologist for prescription medications to control the âintestinal movements. â
The other alternative medical conditions that can present with abdominal pain due to peptic ulcers and diarrhea would be - gastrinomas, which can usually be detected by a CT scan and blood tests (Serum Gastrin levels). Consult your doctors, if this could be a probable cause in your case.
I hope this helps.â