Hi, and thanks for your medical question on eHealth forum!
In all probability the strange way the cycles are behaving can be due to pre-menopause or a STD (less likely). Hence it is important to get a complete STD and a complete hormonal panel (estrogen, progesterone, FSH, LH, prolactin, thyroid) done. It could also be due to infection in the uterus, cervicitis, vaginal infection. Fibroids and polycystic ovary are the other causes.
Since a confirmed diagnosis cannot be given on net please discuss these possibilities with your gynecologist once. Hope this helps. Take care!