Can urinary tract infection be gotten by having intercourse?

Intercourse is one of the predisposing factor for getting the urinary tract infection. E. coli is one of the most common organism to cause urinary tract infection. This organism comes out of your feces. So proper hygiene will prevent the urinary tract infection. It is better to wash your private parts with mild soap, before and after sexual intercourse.