When did your doctor clear you to have sex again?

I'm 5 weeks post partum but my doctor said I am healed up nicely and he cleared me to have sex but I always heard to wait 6 weeks. Is this okay? Did anyone else's doctor give them the go ahead before 6 weeks?

I did have stitches but they dissolved completely at 3 weeks and everything is healed