When a dog gets tired, it might start barking excessively in order to get your attention. Whether it is because it wants attention or because it feels boring, this behavior is highly illegitimate and should be avoided. Nevertheless, you can modify it by ignoring the dog when it starts barking and rewarding him for good behavior. If you want to keep your dog calm and quiet, you can also give him food treats as a reward, but do not reward excessive barking or leave the room while the dog is barking