There are many causes of diarrhea, nervousness, parasites, infections, cancers, toxins, diet, and parasites. If this is persisting over a 48 hour period, it’s a good idea to have a vet check. Be careful of dehydration. Try and get a fresh stool sample to take to the vet.