Irregular period after miscarriage?

Has anyone had very irregular periods after miscarriages? And how long till it became regular?