Two things regarding pinworms, straight from Edgar Cayce readings:
1. Pinworms develop in people who eat too much dairy and who drink milk. Only really good yogurt and buttermilk is OK, the rest is not OK in any amounts.
2. Ordinary lettuce leaf kills pinworms by millions!
Now this doesn't mean that you can rid yourself from pinworms just by following these two ideas. But, once pinworm free, this advice will probably be enough to keep you pinworm free for a long time. Just remember to eat lettuce often. And forget about milk.