Period issues.

So my discharge is like my periods. I've had discharge for like 2 days now. I've never had it before. I'm on the pill and I've forgotten to take it for 5 days recently. I know I need to take it everyday at the same time but the discharge never stops. It's not red it's like dry blood from my past period. I shouldn't be getting my period till next week. Also there's the lining on my uterus and like reddish brown flakes in the toilet when I pee. I also have pooped in about a week and a half. Don't know if it's related. Can someone tell me what's going on?