Causes may be divirticulitis, stomach ulcer, constipation,esophaheal varices etc. It needs a proper examination. Theres no realtion of all of these with menstruation. Investigations required
Usg whole abdomen
It needs a proper diagnosis to suggest you in detail with medication. Get with the tests done and report. So that I can suggest you a homeopathic medication as it will recover your state through the roots.
You can contact me privately on Lybrate
for the medication.