Worried about past NuvaRing vaginitis. Advice?

My birth control ring led to yeast infection. Why?