While there is no specific diet that can cure parasitic infections, some foods may help eliminate parasites from the body. These include garlic, pumpkin seeds, papaya seeds, and pineapple. These foods contain compounds that are believed to have antiparasitic properties. However, it is important to note that these foods should not be used as a substitute for medical treatment. Adding them to your diet will help.