Tapeworms, and you need to see a vet for this. Keep the sample and take it in.