TTC/sex after miscarriage

How long did you wait to have sex after you miscarried? How long did you wait to start TTC again? And how long did it take you to get pregnant again? Sorry so many questions