Missed abortion

Went for my 12week scan last week,only to discover that the baby had no heart beat.Completly devastated this was our third baby.Had DnC done the next day.Anyone has an idea how long it takes to conceive after miscarriage?