Period question

Why is it that I will get my period regularly for a few months then bam no period for 4 months and even then it’s like normal, then super heavy then barely there the next day like wtf and then I’m all like

Like ahhh