Thanks for coming to HCM. You have most likely got either infection and/or stone in genitourinary tract, based on the symptoms you described. You need to visit local doctor immediately, who will evaluate you & start you on antibiotics for infection after taking urine/blood sample. You also need blood test
level & infection. He will possibly ask for ultrasound
, X-ray to confirm the cause and rule out other possible causes. Meanwhile take complete rest & plenty of fluids.
Hope you get better soon.