Questionnnn

Okay so can std or sti cause mucus of the butt? Like my stomach has been feeling weird for the past week and it's not upset but it's not normal. And when I like fart there's mucus (tmi I know) and there's mucus in my poop.