Kinda worrying?????

So I’ve never had unprotected sex, my boyfriend and I always use condoms and he pulls out right before he finishes but I’m still worrying I could be pregnant. My period is supposed to come in about 5 days and for the past 3 I’ve been having brown discharge and a little pink discharge. There was a lot of brown discharge after I had sex the last time. Is this normal or should I take a pregnancy test????