For prevention you should comply with good hygiene rules but in a way that the normal flora of the vagina is not disturbed.

Avoid internal washes with antiseptics which can disturb the microbial balance of the vagina and favor the development of pathogens.

Daily cleaning of the area with a special product and lots of water is the right way for vaginal hygiene.