Irregular period has several reasons like hormonal
imbalance, ovarian cyst
, uterine polyp/ fibroid, thyroid
disturbance, over wt, stress/ anxiety etc.
You need to consult with gynecologist to proceed some investigation like pelvic USG, hormone assay etc. Take suggestive measures accordingly.
Take healthy diet with iron supplements
, control body wt by regular exercise, avoid stress and maintain genital hygiene properly. You may need to take hormonal medication.