pimple/boil on vagina

what are some ways to avoid pimples/boils on the vagina. i currently have one, it’s not painful and the white fluid has drained. i apply a warm compress to it and over the next couple days i’m gonna make sure it’s clean but for women who get these often or have experienced them, how do u get rid of them/avoid them?