Use constructive reinforcement. Using good reinforcement to train your dog signifies you reward the behaviors you want and overlook the behaviors you do not like.
As with all other training, tolerance is needed. This https://www.trainyourpetdog.com/blog/