Vaginal health (BV) related

So I recently got a pelvic exam done and the test came back positive for Bacterial Vaginosis

The doctor prescribed me Metronidazole vaginal gel and I’m on my last tube, what are some ways I can prevent it from coming back later on, I read up on taking probiotics and not over douching too much. Any advice helps😊