How does your dog view you? Are you more important to your dog than his surrounding distractions?
When teaching focus, you start with baby steps, showing your dog that it’s better for him to pay attention to you, instead of what is around him.
Make getting and holding your dog’s attention fun for both of you.