When did your cycle regulate?

How long after miscarriage/ how many cycles until it finally regulated itself?

I’m on my 3rd cycle since I miscarried in April and my cycle is still all over the place.. first one was 18 days, second was 39 and now on my third and ovulating super late on cycle day 22.

Can’t wait until I have the same cycle length every month or within a good range of days