Ok this might be TMI

So like I’ve been kinda sick this past week.. had to poop lots (tmi sorry) but I started having brown discharge.... I’m on the pill, could that have anything to do with the discharge? It’s scaring me