Yeast infection

So I’m taking amoxicillin because there is something wrong with my throat and the doctor said there is a chance it will give me a yeast infection... I’ve never had one , what can I do to prevent it?