Hi,
Yeast infections are treatable and will not stay with you for life. However, you CAN pass them back and forth to your partner via vaginal intercourse. Did a doctor diagnose you with a yeast infection, and are you being treated with any antibiotics? If not, I would suggest going to the doctor to know for sure. If you cannot go to a doctor, Vagisil makes a screening kit that tells if you have a yeast infection, bacterial vaginosis, or something more serious such as an STD. You could try that. Good luck to you :)
Also I know one person I dated had dirty fingernails. Thats how I got mine all the time from him. The man who Ive been with now for over a year I got like one or two when He didnt clean his finger nails. So make sure your partner has clean hands. Also aintboicts love to give you them too.