This can happen from sexual activity with a partner, a sex toy and even wiping after urination incorrectly (from back to front which instead should be done from front to back).In addition, harmful bacteria can be transferred from other forms of sexual activity from bacteria found on fingers or in the mouth and other sources.