Pregnant or Period

I’ve been having unprotected sex for a couple weeks, todays ago I had pink/brown discharge.. but i got my period the say after and today is my second day on my period. Due to the pink/brown discharge i feel like i’m pregnant but i know some will say “its impossible” but there are women who has periods while pregnant (from what i read on here). Does this happen to any that didn’t end up pregnant?