Getting pregnant after d&c

We found out at 12w6 days that our baby no longer had a heart beat...3 weeks on and we have discussed trying again, we would love to try again ASAP but my question is how long does/did it take for you to get pregnant again? We have been ttc for 2 years and iv had 2 mc within that time