BV recurring

So in November me and my long term boyfriend broke up. He was the only one i had sex with for almost three years. I had sex with a new partner and got BV (not surprised, just annoyed). I got it treated, but the next time we had sex i got it again. I managed to get it to go away with peroxide rinses. (Not sure if it went all the way away, but my discharge was normal again and no smell). It started to come back a little then we had sex again and i have it AGAIN. i did get tested after we had sex the first time btw and I’m clean. How can i prevent this or treat it without going to the doctor every time? Alsooooo, don’t suggest i stop having sex with him because the dick bomb and head even better lmao