âBacterial infectionâ is a general term. You need to tell me which bacterium caused the infection. Certain bacteria (Gardnerela vaginalis, Streptococcus, Staphylococcus, Escherichia coli etc.) or fungi (Candida) are not considered to be sexually transmitted. Other bacteria (Neiseria gonorrhea, Syphilis, Chlamydia, Mycoplasma etc.) or parasites (Trichomonas vaginalis) are transmitted sexually. Sexually transmitted infections require treatment of both partners. You may want to request microbiological examination of the vaginal smear to identify the precise infective agent and to choose proper antibiotic for you and for your partner if necessary.