Most UTIs are caused by bacteria. But they may also be caused by viruses or fungi. Bacteria from the bowel are the most common source of infection. Here's what you need to know.