Regular periods are an indicator of fertility. Irregular periods can be due to several causes like thyroid disorders, hyperprolactinemia, hormonal fluctuations; ovulation dysfunction etc.It may be difficult to calculate ovulation days with irregular periods. Ovulation predictor kits and ultrasonography may help. It is suggested to consult a gynecologist and get evaluated. Treatment will depend on the underlying cause. Hope it helps.
Good luck and regards!