From the description it appears to be pyelonephritis
. It is advisable to do the following.
1. Physician consult./gynaec consult.
2. Blood tests (CBC, creatinine
3. Urine examination including culture.
It is advisable to abstain from sex till the condition resolves.
In the mean time antibiotics , urinary alkalizers and preferably IV fluids would help.