Chronic mucus in stool? Help 😭

Since this past May (7 months), I’ve noticed excess amounts of mucus in my stool. Lower back pain accompanies the mucus. It has been on and off the whole time but seems to reappear when I’m stressed. Sometimes I go, and I only pass mucus. What could this be and what can I do about it?