Sometimes, dogs bark because they're frustrated or bored. If your dog doesn't get enough exercise, he may bark because he has too much pent-up energy. Give your dog plenty of exercise and playtime to reduce problem barking. If your dog is bored, make sure he has plenty of toys. Puzzle games, especially those that involve food or treats, can be a good way to keep your dog occupied and happy. Happy dogs may bark to greet others. Teaching your dog other ways to greet them will cut down the problem barking.  For visitors to your home, teach your dog to go to a specific spot and wait to receive guests. Get her to sit and stay as you (or a helper) come in the door. Reward her with praise and treats. You can also train your dog to find a special toy near the door when people come over. If he has a toy in his mouth, he's less likely to bark when guests arrive. Train your dog to sit quietly before allowing others to pet him when you're out. This will also reduce the risk that anyone will get hurt by an excited dog. Don't reward greeting barks by acknowledging your dog. Wait until she's quieted down before you greet her and give her pets or treats. Dogs often bark to communicate their needs. If you can train your dog to alert you in other ways, he won't have to bark for everything.  For example, ring a bell whenever you take your dog outside to associate the two. Train your dog to ring the bell (hotel-service “tap” bells work very well) when he needs to go outside. Bang the water dish or food dish before you fill it. Your dog will learn to associate the two, and can bang or paw his dish when he's hungry or thirsty. Desensitizing your dog to whatever is causing her barking can help curb problem barking. Start by introducing the stimulus at a distance -- far away enough that your dog doesn't bark at first. For example, if your dog barks at a neighbor's dog, ask if your neighbor will help you.  Move the stimulus a little bit at a time toward your dog. Praise her and give her treats for staying quiet. As the stimulus...

===
Write a summary of the previous text in Indonesian:
Berikan kesempatan pada anjing Anda untuk beraktivitas. Ajari anjing Anda cara lain untuk menyapa orang lain. Ajarkan cara lain untuk berkomunikasi pada anjing Anda. Berikan latihan desentisisasi pada anjing Anda. Alihkan perhatian anjing Anda.