Kindly refer to the following link(s):
Nifas-the post delivery bleeding
Bleeding after Miscarriage, when is it considered post natal bleeding (Nifas)
Discharge after post natal bleeding (maximum of 40 days)
Can women go out during 40 days period after their delivery? Confinement rituals