Hello,
Since you have UTI, it can be due to infection of the kidneys. Kidney stones and recurrent UTI’s can lead to Pyelonephritis, Cystitis, Urethritis or Glomerulonephritis. Other causes which need to be ruled out are bowel obstruction, ectopic pregnancy, ovarian cysts and pelvic inflammatory disease, irritable bowel syndrome , kidney obstruction or pyelonephritis, psoas abscess and volvolus.
I suggest you to get all these possibilities ruled out from your doctor and take the antibiotics as prescribed so as to tackle any infection.
I hope it helps. Take care and regards.
P.S. I removed my appendix many years ago