If anyone could answer!

I’ve recently have been have yeast infections & UTIs since I’ve been on birth control, I’ve always had them my whole life but it’s been frequent recently . What’s causing them? Is it my birth control? Or do I have and infection?