better first you try to find out the cause for your irregular periods
you consult gynecologist once get physical examination and ultrasound
which will possibly detect any abnormality at the level of internal pelvic organs,
by treating that you can make your periods regular,
then you can track your ovulation easily by ovulation kits,
after three regular periods you can track ovulation by calender method also.