Here's one way to fix bad behavior in your pet - dog school.