Did anyone ever used garlic to get rid of yeast infection?

aliya
I am 22 weeks and 5 days and I been having yeast infection and it goes  and comes back so I just wanna get rid of it forever