Ivermectin is a medication used to treat many types of parasite infestations. In humans, this includes head lice, scabies, river blindness, strongyloidiasis, trichuriasis, ascariasis, and lymphatic filariasis. In veterinary medicine, it is used to prevent and treat heartworm and acariasis, among other indications