To train a dog to obey commands, you can use positive reinforcement techniques such as treats, praise, and toys. Consistency is key, so make sure to use the same command every time and reward your dog when they follow it correctly. Remember to keep training sessions short and fun to keep your dog engaged and motivated to learn. Patience and repetition are also important, as it may take some time for your dog to fully grasp and obey the commands.