To train a dog to follow commands effectively, you can use positive reinforcement techniques such as treats, praise, and consistency. Start by teaching basic commands like "sit" and "stay" in a quiet environment with minimal distractions. Reward your dog with treats or praise when they successfully follow the command. Be patient and consistent in your training, and gradually introduce more advanced commands as your dog progresses. Remember to keep training sessions short and engaging to keep your dog motivated.