is it ok to have....???

Me
Is it ok to have two or more yeast infection without having sex in a year?? 
I been with yest infection for almost a week already or two and i been putting this purple cream called Vagisil and it made the itchen go away but it comes right back and my lips be swollen .. i went to the doctor to get tht checked out when i first started getting it they have me pills for it and creams but they dont work... and i honestly do not know what to do no more!!!