Too soon for sex?

Probably a question best for my OB, but how long were you all told to wait to have sex after your miscarriage? It was natural with no meds or d&c.