BV everytime i get my period ?

So everytime i get my period i end up getting bacterial vaginosis. I tried probiotics takin them everyday doesn’t work, i took metronidazole for a week it went away I got my period again and it came back. I already used boric acid for 2 weeks it didn’t work . Idk what to do anymore