discharge in poop?

a while back i noticed white mucus or discharge when trying to go to the restroom. i was sure it wasnt from my vagina. but this morning i had the urge to go to the bathroom really bad and i went and I'm 100% sure it came out of my butt . alot of discharge. out of my ass. so have you ladies ever experienced this? i need advice?