I missed a period for almost a year!

Bekah

I went to the Dr and all they discovered was an easily treated UTI. Not pregnant or trying. I have Google myself into tears thinking I have cancer or something. A few days ago, I got the first period I've had since September of last year!!! Anyone experience this? what was wrong and how to you treat it?