To help a shy or fearful dog gain confidence, expose them to what frightens them at a low intensity and pair this exposure with something positive, like a tasty treat. This is called counter conditioning and desensitization, and when done successfully, it helps them feel more comfortable around the source of their fear. Allow your dog time to get used to people, and instruct others to ignore your dog, letting them decide whether they want to approach someone. Dogs that adjust on their own are more likely to approach people safely. Approach dogs at their level, crouch down or sit on the floor, and don't stand over a dog. Throw out treats, decreasing the distance for a safe interaction, and don't interact with them until they're ready to take a treat from your hand. Build up trust with your dog before bringing them to public settings like the dog park, a friend's house, or a dog-friendly restaurant or brewery. If your pup is shy or fearful of other dogs, don't force the interaction, and give yourself some space by going to the other side of the street or moving off the path. Most fearful dogs gradually improve with time, training, and trust, but they won't likely become outgoing if they're naturally nervous or shy. Treats and happy, positive interactions can go a long way, but don't expect a total transformation.