Miscarriage and ovulation

Der

Just wondering, can someone ovulate after having a miscarriage? I believe I am having a miscarriage.. and I want to try again once I stop bleeding but idk if I’ll ovulate or when to plan another pregnancy... I had to see an obgyn to help me with this pregnancy and now I’m so heart broken..