Sex after miscarriage

I had a miscarriage about 1.5 weeks ago and stopped bleeding a few days ago. So my husband and I had sex. I guess I'm asking how long after bleeding stopped did you conceive again. Either accidental or planned. The dr wanted us to use condoms til my period returns, we didn't but he pulled out.