Welcome to e health forum.
The regular menstrual cycle in a woman is regulated by secretion of hormones from the hypothalamus, pituitary gland and those from the ovary. Any defect in any of these three sites can change the cyclic changes that occur in the ovary and the uterus and hence influence the menstrual flow.
Irregular periods are usually due to abnormal hormone levels as a result of altered pattern of hormone secretion.
Common causes for a missed or irregular cycles can be - Severe stress and anxiety, acute weight changes, eating disorders (Bulemia), Athletes (Rigorous exercise), conditions like ovarian cysts (with irregular cycles), Hormonal conditions (Eg Dysfunctional uterine bleeding) and hypothyroidism.
If you have a history of lack of periods and abdominal pain, you may consult with your OBGYN doctor who can examine you and provide you proper care and advice. A few tests including a ultrasound, thyroid function tests and others can be done to determine any treatable cause of your irregular cycles.
I hope this helps.