Ovulation after miscarriage

How long did it take you to ovulate after a miscarriage? Specially an Early miscarriage or chemical pregnancy