Pregnant after miscarriage

How long did it take for you to get pregnant after a miscarriage?