OVER THE COUNTER UTI. Urinary tract infections are caused by bacteria and are best treated with prescription antibiotics. But you can use two over the counter products and more fluids and cranberry juice. One product is cytex which contains metamamine a urinary antiseptic and sodium salicylate which helps with the pain, and second is azoor uristat (phenazopyridine) which is phanazopyridine which may colour your urine orange/red, so no alarm.
Antibiotics. Prescribed by your doctor. Azo or Pyridium (phenazopyridine) can relieve the burning, but antibiotics are needed for utis, otherwise you let it run its course. Which means it may never clear up.
Not much. There are a few otc meds that will help relieve symptoms of a uti. However, they will not resolve an infection. Even cranberry juice or cranberry capsules cannot cure an infection if that is the problem. If you have frequent or painful urination, an urge to urinate, flank pain or fever, see a doctor. A urinalysis will help direct the appropriate treatment. Only antibiotics will cure an infection.