Causes of such pain could be due to kidney stones
, pelvic infections, urine infections, twisted ovarian
cyst or rupture of ovarian cyst, appendicitis or any other referred pain due to other organ infections.
Get it evaluated and an ultrasound done from a gynecologist to confirm the diagnosis.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided.