Is having light brown discharge being on the pill for 9 months normal?

I’ve been on the pill for almost 9 months and I still get spotting/weird discharge towards my period sometimes. My periods coming in a week and I have this small amount of light brown discharge. Should I be worried?