Breakthrough bleeding

Why am I having break through bleeding like almost a week after stopping my pills ? It’s dark brown blood and feels like an actual period it’s very painful and I am very nauseous . Is it supposed to feel like that ? How long will it last. And I know it’s not my actual period because I’m not supposed to start it for another two weeks