Many women get a urinary tract infection at some point, and they are quite painful. The infection is caused by bacteria that enter the body through the urethra to colonize the bladder.