Hi, Thanks for using the HCM.
passing motion immediately after eating is due to gastrocolic reflex, but you are having symptoms suggestive of GIT infection, your brown coloured stools could be due to upper GI bleeding, consult gastroenterologist
for further management
Hope I have answered your query. If you have any further questions I will be happy to help. Thanks get well soon....