Hi... Welcome to healthcare magic. As you mentioned you have problem of frequent bowel movement with pain... Consult a gastroenterologist for further diagnosis. Infection or food intolerance problem or other reasons may lead to this type of symptoms.. Stool sample test is helpful for further diagnosis. Detail history and investigation give exact idea about problems.. Start a treatment as per reason behind it.. Get well soon.. Thank you.