You should get a deworm
tablet from a pharmacy, since it is hard to kill tapeworms with special food. The tablets should contain mebendazole or albendazole.
To help getting rid of them, the diet should be low on sugars and starches, high on fibre, very high on garlic. best fruits are papayas including the seeds (chew them well, they taste peppery), pineapples and pomegranates. Thyme, turmeric, garlic, hing, fenugreek, cayenne, parsley and cinnamon are slightly antiparasitic spices.