NuvaRing and Yeast Infections

E
I had brain surgery 1.5 months ago and put my NuvaRing a couple days ago. (I wasn't allowed to use it during surgery and weeks before/after). I have contracted a minor yeast infection. Is it okay to treat that while leaving my NuvaRing in or do I have to take it out? If I take it out I have to wait another month to get another one and this will just happen again 😅
Please help!