This is referred to as Premenstrual Dysphoria, and falls within the mood disorder spectrum. You will first have to get your hormone levels,
thyroid levels done. Following which, you will have to consult a Psychiatrist for detailed evaluation. Once confirmed, Premenstrual Dysphoria can be treated by antidepressant medication. Good luck.