Cucurbitacin, found in abundance in pumpkin seeds, is thought to immobilise worms and cause them to separate from the walls of their intestines. It may be advantageous to eat raw pumpkin seeds or ground them into a powder and combine them with meals or water.