Generally speaking, these infections aren't contagious. It's highly unlikely for anyone to contract a UTI from a toilet seat, because the urethra in males and females wouldn't touch the toilet seat.