Only download the following firmware to your Arduino Uno board and then open the Serial Monitor. Teach your dog how to behave himself by rewarding the behavior you want him to do. Be patient and have into account that he can have certain unpredictable behavior from time to time, because a dog is always a dog. Answare the questions that appear on the Serial Monitor, and let you go.