Mucus in stool???? TMI warning

So for about a week or two I’ve been having cramps and sometimes unexplained sudden diarrhea. I know it’s gross. And it was runny and for me...never ever happens. Then I got my period...I’m thinking oh maybe that’s why?

But all week I’ve been having sudden stomach gassy pain and cramps. And sometimes sudden diarrhea. And when I go, it’s nothing but mucus. Like white! I even accidentally when in my pants! :( it’s so difficult to control. It’s been a week of pain. I’m so embarrassed I hadn’t even told my husband. But I return to work soon from holiday and I’m scared I’ll have an accident.

I plan to see a Dr but everything I’m finding online is all bad. Like cancer bad.

Anyone have this happen to you???