4 weeks PP and still bleeding

Sophie

As above I’m nearly 4 weeks postpartum and I’m still bleeding. Some days it’s more brown sludge ( sorry) and then occasional it’s red when I wipe. How long will this last? X