These symptoms of headache and mood swings are most likely
related to irregularity of menstrual cycle due
to hormonal imbalance. Stress is considered an etiological factor in such hormonal disturbances. I would advice you not to avoid too much stress, change is practical phenomenon of life. Additionally, consult a gynecologist to rule out other causes like iron deficiency, folic acid deficiency, polycystic ovary etc. Hope this helps.