It could be poisoning or rabies he needs to go to the vet ASAP
My Dog Is Shaking He Can Hardly Walk,salva Is Coming Out Of His Mouth And He Is Panting Hard,what Is Wrong With Him?
I doubt he has rabies so don't worry though I am not an expert but as answered before you NEED to get him to a vet.