Ovulating after miscarriage

So I had a miscarriage at 4 weeks that lasted about 8 days the bleeding stopped yesterday, I was wondering how soon is it possible to get pregnant again? And will I get my period before I ovulate or is it possible to ovulate between now and waiting for my period to arrive? I’ve heard some people say two weeks after mc but does that count as the weeks after the mc or when it started?

Not quite sure how it works would appreciate some enlightening!