Thanks for answering my questions.
There are actually many reasons a dog may foam at the mouth:
**A dog who has been playing hard or burning off a lot of energy might have foam in their mouth. This is because they salivate alot when playing, and then the panting can turn the saliva into a froth in the mouth.
**A puppy who gets a bad taste in their mouth will often salivate or foam at the mouth.
**Having an upset stomach can cause a dog to salivate and pant, which creates that foam again.
**Stress or anxiety can cause a dog to foam at the mouth. The nerves/anxiety cause the dog to drool, which again combined with panting causes the foam.
**If the pup could have gotten into anything toxic or poisonous, this could cause the foaming as well. If there's even a remote possibility that the puppy got into something they shouldn't have, then you need to have her seen by a vet immediately.
**Unfortunately, the biggest possibilty in this puppy would be a seizure. Seizures can cause a dog to foam at the mouth. The seizure activity often causes a dog to salivate and when you combine that with the way they can pant, it creastes foam around the mouth. Since your puppy did contract distemper from her mother, there is a possibility that this could be seizure activity.
Sadly, without being able to see her for sure and evaluate her, it's almost impossible to know for sure what is going on. Since in addition to the foaming, she's also whining and shaking, I would strongly suggest that you have her seen by an emergency vet tonight..just to be on the safe side.