Please help me !!!

So my period is in 4 days & im on the pill. I have been having cramps ( always happens before my period) but also brown discharge !! I’m so scared does that mean am I pregnant ??? Idk what to do please help