Eating fleas and mice or moles are a big reason cats and dogs get tapeworms. Chickens can get them that way as well, since chickens usually get them from an intermediate host. Eating the tapeworm eggs from a dropping, or an insect, earthworm can continue the lifecycle of tapeworms. A tapeworm segment or proglottid contains many tapeworm eggs inside. So, keeping droppings of a shedding chicken cleaned up, and removing any of the numerous possible intermediate hosts from the environment can help to stop reinfestation.
@BirdGuy2018 Ivermectin is another ingredient in Equimax. It has been thought to have lost some of its effectiveness of treating other common worms, due to its past use as at mite treatment. So, it may treat some other worms, but many here usually recommend Equimax for the praziquantel ingredient. If tapes are not a problem, then using Valbazen or SafeGuard paste or liquid is the best worm treatment.