Hi,
I need to know the pain u r getting is after menstrual period, pregnancy or breastfeeding. Because without considering these things in ur problem, it cannot be diagnose ur illness.
First thing is it is surely due to the changes in the reproductive hormones like(estrogen and progesterone). So my suggestion is consult for complete case history and then best medicine shall be prescribed for permanent heal.
Next Steps
consult through practo if required