NEVER, I would never spank my dogs.
It hurts me when people I work with talk about spanking their kids. I don't think hitting a child or an animal works.