how to prevent fungal infections