Discharge during postpartum bleeding😮

So it might sound like a stupid question but if your bleeding stop at 4 weeks after delivering could you have sex? I’ve been feeling so horny with sticky discharge and it seems that my blood has gone away😐 could I have a infection if I has a lot of clear discharge? Is that normal during postpartum bleeding? Is it okay to have sex?