Thanks for sharing, Dorine. Yes, things are getting dangerous in the world. There are many ways to become infected with parasites. Since your friend was a strict vegetarian, that restricts the infection route some. But, he may have been infected many years ago when he ate animal products.
Eggs can be on vegetables and fruit. Eggs can be the bathroom. Eggs can be in soil, even your own soil. Anyone who uses manure can infect their garden with parasites. There are a number of herbs that are good for treating parasites including tapeworms. I don't remember them. I think something from a walnut tree is effective. It will be easy to find. Garlic also is used to treat parasites in horses as I remember.
Cleanliness is of the utmost importance when one is infected. Eggs and larva can reinfect or infect others. Stores that provide restrooms are a source of infection. I like the restrooms that have automatic flush toilets, automatic sinks, automatic soap, and automatic paper towels. And, I like them even better when in grocery stores so the employees don't infect their cleans hands when turning off the water, getting paper towels, or opening the filthy doors when you have to pull on the handle.
I don't like air-dryers. With no paper towels how am I going to open the dirty door?
While there are many risks, your friend has done good by not eating animal products. When we have done all we can, we leave the rest with God. He protects us from so much we have no idea about!