After sometime in a run, a kennel or in the house, a dog has an abundance of pent-up energy, the best thing to do is direct the energy. Play with them, throw a ball. Try this when you release them from their kennel, have two balls with you.
Tennis balls work great. Throw one, then when they return to you immediately throw the other, in about 5 or ten minutes your dogs stored up energy will be released, then begin with a ten minute training program. Reward them with treats. This will reinforce their training improve their obedience and make for a happier dog..