For an intestinal tapeworm infection, your doctor may check your stool or send samples to a laboratory for testing.more