It sounds like your dog is having seizures. My dog Christy had them for years. Please take him to the vet. There is medication to make them a little better.