Chronic yeast infection

After 4 years of horrible yeast infections after sex it’s finally stopped. I could cry because I thought I would never have a normal sex life. They were so bad I couldn’t focus after unprotected sex. Mild yeast infection after protected sex. I don’t know if it was previous partners. Idk if it was me. But over the past few months I’ve had as much sex with this partner with no worry. I have hope now. Bc I thought for the rest of my life my sex life would be dictated by chronic yeast infection.