Thanks for the query.
You better undergo ultrasound
once to rule out any structural cause for irregular bleeding like fibroids, polyps etc.
If no structural causes are there, then the most possible cause could be hormonal
In that case you have to go for cyclical hormonal pills to control the bleeding and for regularization of menstrual flow.
You consult your doctor once and discuss these points with her.