A urinary tract infection (UTI) happens when bacteria (germs) gets into the urinary tract. The most common place for a UTI to occur is in the bladder, but infections also occur in the urethra, ureters or kidneys. UTIs are easily treated but can cause problems if left alone.