In a healthy person, the urinary tract is sterile, which means there are no bacteria. When bacteria get into your urinary system, a urinary tract infection (UTI) develops. Infection could involve any part of your urinary system, e.g., kidneys, bladder, and urethra. You can prevent urinary tract infections with lifestyle changes.