Sometimes parasitic worms can enter the body when a person swallows contaminated food or water. Food or water may be contaminated by coming into contact with urine or feces. Raw or undercooked meat can also contain parasitic worms.