You must be having pelvic inflammatory disease
You need to see gynecologist for further examination.
He will do vaginal examination and ultrasound
of abdominal pelvic region so that condition of your uterus
that is internal reproductive organs can be examined.
For now you can take some pain killers and broad spectrum antibiotics, metronidazole
and some vaginal passerines.
Hope I answered your questions.