I'm glad something has worked for you, but if you are considered about worm infestations, please go to your doctor, get diagnosed and use medication prescribed for you.
Ivermectin is in a class of medications called anthelmintics. It treats strongyloidosis by killing the worms in the intestines. It treats onchocerciasis by killing the developing worms. Ivermectin does not kill the adult worms that cause onchocerciasis and therefore it will not cure this type of infection.
Toxicity and potential drug interactions
The main concern is neurotoxicity, which in most mammalian species may manifest as central nervous system depression, and consequent ataxia, as might be expected from potentiation of inhibitory GABA-ergic synapses.