Ovulation after miscarriage

How do you know when to start ovulation testing after having a miscarriage?