Ask your vet. A dog having a seizure is a serious matter, the dog should see the vet first, and the vet will help you deal with the situation.