Irregularity after miscarriage

How many months or cycles did it take for your periods to become normal after miscarriage?