When traveling to areas that have tapeworms, wash fruits and vegetables, and then cook them. Make sure to use water that is safe to drink as you rinse and cook them.