D.H.
You might have IBS (Irritable Bowel Syndrome). Now, before you panic, it's not as bad as all that. I suffered with symptoms for YEARS (I started having symptoms in my early 20s) before I actually spoke with my doctor about it. But he prescribed something, told me to start taking it daily. And I was instantly better. He told me, eventually, I'd be able to stop taking it all the time, and I'd only have to take it for flare-ups, which was also true. I only have to take the medication once or twice a month, if that. And the medication is just an anti-spasmodic medication - you can probably just try to take an OTC anti-diarrheal medication and see if that helps.