UTI and STDs are not the same thing. You only get STDs from sexual acts, oral, vaginal, and anal. You can get UTI easier if you are a women than a men and it's quite frequent for most women to have UTI or yeast in the lifetime. Maintaining proper hygience is definitely the way to prevent for new UTI.