A man is helping to train a dog for the military.