Sex after miscarriage

How long did you wait to have sex again after miscarriage?