Ovulation after miscarriage bleeding stopped

Can you ovulate before the miscarriage bleeding stops?

How long did it take you to ovulate after bleeding stopped?