confused ?

I have this thick mucus like stuff coming out of me for about 2 1/2 weeks now and its kinda like blood but at the same time its brown too and I am so confused. I know I am not pregnant because the doctir tested for it but I am sexually active and recently switched birth controls about 3 weeks ago. anyone gad this before ?