New to the pill

Okay so I've been on the pill for about 4 months but I still notice discharge some during my cycle. Is this normal or does it mean the bc isn't working? My boyfriend & I had sex without a condom (we never do that) but he pulled out & everything we're both just a little worried my period is supposed to be in a few days but I'm just wondering about the discharge thing. Thank you in advance