There may be multiple causes for irregular periods like hormonal imbalance / Ovarian cyst / Polyp / Fibroid / Polycystic Ovaries etc. Treatment could be medical or surgical depending on the cause.