How do you know when your ovulating after a miscarriage

As I stated earlier I had miscarriage a few days ago and I am still bleeding, but my doctor said I could start trying right away for another baby ( While I am still bleeding). So how does that work though, am I ovulating even though I am miscarrying? How can I know when my eggs are ready?