However, bacterial vaginosis can occur in people who have never had vaginal intercourse, and treating a male sex partner does not appear to affect subsequent incidence in sexually active heterosexual women.