More info needed
I think you are referring to an std
? Utis are not transmitted, but having frequent sex
predispose women to have more urinary infections.
For stds, it will depend on the particular one, some of them you need only one time with unprotected sex to transmit it.