The most commonly used medication to kill tapeworms and their eggs in humans is Niclocide. This tablet must be either chewed and swallowed or else crushed and mixed with a small amount of food and swallowed.
The traditional way to treat them is through antibiotics prescribed by a doctor. There are also natural treatments. Alternative treatments may include garlic or the herb called wormwood.