UTIs occur when micro-organisms (typically bacteria) enter and travel up the urinary tract and multiply, causing an infection. The infection can affect any part of the urinary tract, most commonly the bladder.