Yeast infections

First time pregnant and before I even found out I was pregnant I got a yeast infection, got treated for it and also got treated with the big news. I’m 32 weeks now and I got it again last month, took the pill AGAIN I’ve been super careful I don’t wear tight clothes I shower before and after sex and make my partner do the same and today I saw white thick discharge so u know what that means 🤦🏾‍♀️I’m just tired of not being in control of my body I’m gaining weight like crazy, new stretch marks everyday and now my vagina won’t even act right is there something I can do to make these infections go away PERMANENTLY