To train a dog, reward good actions with treats and love, and correct bad behavior with clear commands and discipline.