unblance hormons

Hello i have been irregular on my periods, but now i’ve been having periods that last for 2 months. i went to the doctor they told me it’s unblance hormons. what can I take or do, i’ve been like this for at lest 5 months before i use to have my periods 4 times a year they last about 7 days. my email is