Men can get different kinds of urinary tract infections (UTIs). Knowing which kind of infection you have may help you prevent future UTIs.