sex after birth?

How many weeks after birth did you get an ok from your doctor to have sex again? I know average is 4-6 weeks, just curious!