Implantation or Withdraw?

Hello! I am on birth control but today i’ve been cramping and have had brown discharge which i usually don’t. My period is supposed to start in a week. I have been on the pill for about two years so I am not very sure what this could be! If someone could help me out I would appreciate it!