Period?

It’s 7 days before my next period and I recently stopped taking birth control which I wasn’t even on for a year now I’m seeing brown discharge and having slight cramping why?