Mucus in stool

For awhile I’ve had mucusy discharge in my stools. Today I’ve had diarrhea with a lot of mucus discharge in it. Should I be concerned or as worried as I’ve been? I’m 20 weeks pregnant.