A urinary tract infection is a general term for an infection anywhere between the kidneys and the urethra (where urine comes out). Most urinary tract infections are bladder infections. They often cause pain or burning when you urinate. They're caused by bacteria and can be cured with antibiotics.