I have a question for the ttc community

Re
I had a start of a miscarriage on june 6th i was supposed to be 8 weeks but ultrasound confirmed june 5th baby only measured 6 weeks and 1 day i passed everything by the 10th how long after a miscarriage do u ovulate? Not really havin any signs of ovulation on cycle day 17 currently thought i had ovulation pains on cycle day 15 me and hubby bd on fathers day (cycle day 14) as the pain was only on my right side for about 1 minute and went away......so question is did i just ovulate this soon after a miscarriage??? (usually i ovulate late in cycle fertile window starts at cycle day 19 and usually ovulate around 24 or 25)