Miscarriage and ttc again

How soon after your miscarriage did you try to conceive again? My doctor told me to wait 3 to 6 months.