One way to help a dog feel more confident is to use repeated exposure to the scary thing so that it becomes less novel and more routine, this is called desensitization. You must be careful, though, not to overwhelm the dog because this can create insecurity or fear of a person, place, or thing. If you want to get your dog comfortable with, say, going to a popular park, first bring them to a quiet corner of the park and allow them to see and hear other people and dogs from a safe distance. Observe their body language closely to get clues about how they're feeling. Over many short sessions, you can move incrementally closer to the busy walkways and more crowded areas, always watching the dog for signs of discomfort. If your dog seems overwhelmed, you’ll need to figure out a way to decrease the stimulus to the point where it’s not scary to your dog, and then move on from there. Proceed at whatever pace your dog appears to feel safe. You can enhance the desensitization sessions by adding really yummy treats, called counter-conditioning, this technique involves the animal experiencing a very tolerable exposure to a stimulus, followed by a delicious treat. To build your dog’s confidence in a more general way, provide them with enrichment activities and relationship-based training, simply feeding your dog via food puzzles and getting them involved in nose work can make them more confident. Training your dog using positive reinforcement teaches them that making decisions and engaging with you and the environment earns them good things like treats and praise.