Hello and welcome to healthcare forum.
From your history it seems that you might be suffering from subacute appendicitis
or pelvic inflammatory disease
Whatever it is, you will require thorough clinical examination by a surgeon and ultra sonography
of abdomen to reach to diagnosis and according to that, treatment.
Best wishes for your health.