Usually in premenstrual syndrome
you can have pain abdomen, mood swings etc before the beginning of the periods.
And once the periods start usually they subside.
In case of somewhat severe hormonal imbalance, the symptoms can present during and after periods also.
So you once consult gynecologist, get examined and go for ultrasound
to rule out pregnancy
and pelvic infection
If she suggests you can go for hormonal profile.
After that with her advice you can go for symptomatic treatment.