Period

On the 17th I had a cousin pass away and I forgot all about my pill till the next day. Anyways I didn’t take the pill I missed and start on the day after, I got a brown discharged a few days later, occasionally there is a small amount of blood in my vagina. and it been over a week having this. Yes I’m sexual active, I have unprotected sex. But my question is how long with this bleeding and discharge last?

Thanks xx