Urinary tract infections (UTIs) happen when microbes overcome the body’s defenses in the urinary system. They can cause discomfort and urination problems, but several treatments may resolve them.