Hi welcome to Health care magic forum.
Thanks for asking a question to H.C.M.F.
You have got pain during the period and have brown discharge, You feel bloated, gassy and constipated.
The pain appears to be due to anaemia
, urinary tract infection
, or pelvic inflamation.
i advise you to consult a gynaclogist for diagnosis and treatment. You may need to have M.R.I.besides other routine tests for confirmation.
Wishing for a quick and complete recovery.