Postpartum bleeding

Lara

I’m 6 weeks postpartum now, I’ve was cleared by a doctor at 4 weeks, but I’m still bleeding. Do I need to wait until the bleeding completely stops to have sex? It had been slowing down and turning brown but now it’s red again and a little more than before (but not heavy). It never stopped completely so I don’t think it’s my period plus I didn’t get my period for nine months after my first and I’m breastfeeding.