What to Do for a UTI: Treatment and Prevention

If you think you have a UTI, the most effective thing you can do is get a short course of antibiotics, which typically clears the infection within a few days. But there’s also a lot you can do right now to manage pain, speed recovery, and reduce your chances of getting another one. Here’s a practical breakdown.

Confirm It’s Actually a UTI

The classic signs are hard to miss: burning during urination, a constant urge to pee even when your bladder is nearly empty, cloudy or strong-smelling urine, and pelvic pressure. If you’re unsure, over-the-counter UTI test strips can help. These dipsticks check for two markers in your urine. The leukocyte test (which detects white blood cells) catches 80 to 92 out of 100 UTIs, while the nitrite test, when positive, is correct 96 to 99 percent of the time. A positive result on either gives you a good reason to call your doctor. A negative result doesn’t completely rule out infection, so if symptoms persist, get checked anyway.

Getting Antibiotics

For a straightforward bladder infection in otherwise healthy, non-pregnant women, the CDC lists three first-line antibiotics. Your doctor will likely prescribe one of these short courses, which usually last three to seven days depending on the medication. Stronger antibiotics like fluoroquinolones are reserved for cases where the first-line options aren’t appropriate, partly to slow the growing problem of antibiotic resistance.

Most people feel noticeably better within one to two days of starting treatment. Finish the full course even once symptoms disappear, because stopping early can leave behind bacteria that are harder to treat next time.

Pain Relief While You Wait

UTI pain can be intense, and you may not be able to see a doctor immediately. A few things help in the meantime.

A bladder-numbing medication called phenazopyridine is available over the counter at most pharmacies. The standard dose is 200 mg three times a day. It turns your urine bright orange (don’t be alarmed), and it’s meant for short-term use only, not as a substitute for antibiotics. It masks pain but does nothing to treat the infection itself.

A heating pad placed on your lower abdomen can ease the cramping and pressure. Ibuprofen helps with both pain and inflammation. And one of the simplest measures is also one of the most effective: drink a lot of water. Aim for two to three liters a day. Frequent urination physically flushes bacteria out of your urinary tract, which can reduce symptoms and support whatever treatment you’re on.

Signs the Infection Has Spread

A bladder infection is uncomfortable but manageable. A kidney infection is a different situation. If you develop fever, pain in your back or side, nausea, or vomiting, the infection may have moved beyond your bladder. These symptoms call for prompt medical attention, as kidney infections can become serious quickly and typically require more aggressive treatment.

Cranberry Products for Prevention

Cranberry’s reputation isn’t just folklore. Cranberries contain compounds called proanthocyanidins (PACs) that prevent E. coli, the bacterium behind most UTIs, from sticking to the walls of your urinary tract. The key is getting enough of the active compound. Research suggests an optimal dose of around 36 to 72 mg of proanthocyanidins per day for a preventive effect. In one trial, women who took cranberry capsules containing 36 mg of PACs twice daily after surgery had significantly fewer catheter-related UTIs than women who took a placebo.

Cranberry juice cocktail from the grocery store won’t cut it. These drinks are mostly sugar and water with minimal active compounds. Look for cranberry extract capsules or supplements that list the PAC content on the label. A standardized extract delivering at least 36 mg of PACs daily is a reasonable target based on the clinical evidence.

D-Mannose as a Supplement

D-mannose is a simple sugar that works through a clever mechanism. E. coli bacteria have tiny finger-like projections coated with molecules that act like glue, latching onto the lining of your bladder. D-mannose binds to those projections, essentially coating the bacteria so they can no longer attach to your urinary tract walls. Once unattached, the bacteria get flushed out the next time you urinate.

In clinical trials studying recurrent UTIs, participants took 1 gram of D-mannose three times daily for two weeks, then stepped down to 1 gram twice daily for several months. D-mannose is widely available as a powder or capsule and is generally well tolerated. It’s best studied as a prevention strategy for people who get frequent UTIs, not as a replacement for antibiotics during an active infection.

What About Probiotics?

The idea behind probiotics is straightforward: a healthy balance of Lactobacillus bacteria in the vaginal and urinary tract can crowd out harmful bacteria like E. coli. In lab studies, strains like L. rhamnosus and L. acidophilus show strong inhibitory potential against UTI-causing bacteria. One well-known trial found that oral Lactobacillus rhamnosus GR-1 combined with L. fermentum RC-14 significantly shifted vaginal flora in a healthier direction.

The clinical results for actual UTI prevention, though, are mixed. In a study of 150 women, cranberry juice reduced UTI recurrence, but a Lactobacillus GG drink showed no significant difference compared to doing nothing. A second study in adolescent girls found similar results, with cranberry outperforming the probiotic group. Probiotics aren’t harmful and may support overall urogenital health, but the evidence for preventing UTIs specifically is weaker than the evidence for cranberry or D-mannose.

Daily Habits That Lower Your Risk

Chronic dehydration is a recognized risk factor for recurrent UTIs. Drinking two to three liters of water daily keeps urine dilute and ensures you’re emptying your bladder frequently, both of which make it harder for bacteria to establish an infection. This single habit is one of the most effective preventive measures available.

If you’re prone to UTIs after sex, urinating shortly afterward helps flush bacteria that may have been pushed toward the urethra during intercourse. Wiping front to back, avoiding douches or scented products near the urethra, and wearing breathable cotton underwear all reduce bacterial exposure. None of these steps are guaranteed to prevent every UTI, but together they meaningfully lower the odds, especially for people dealing with recurrent infections.