Compositions, devices, and methods are disclosed for treating or preventing fungal infection in an animal are provided. The methods involve exposing the animal to one or more volatile organic compounds (VOCs) in a quantity sufficient to inhibit or reduce fungal growth in the animal. Also disclosed is an automated aerosolization unit (AAU) for delivering compositions, such as the disclosed VOCs, to areas, such as habitats, to treat or prevent fungal infections in animals.