Mixed infection that was maybe dormant or is a recent case. is it possible

Patient: HI Dr. i got an infection from my boyfriend.my doctor said it’s a mixed infection, yeast infection and another. on a serious note, he said he got it from his ex a year ago but nothing never happened to him so he never checked it out. him and i have been having unprotected sex for a year now and i haven’t gotten any infection. is it possible that’s it from her or a recent case.