Good care must be taken to prevent cattle from grazing where the Elf-folk have been; for if an animal come on a place where they have either spat or done worse, it will be seized with grievous complaints, which can be remedied only by giving them to eat a handful of St. John's wort, gathered on St. John's night at twelve o'clock.
Source: wiktionary