The best way to train is with repetition, reward, and positive feed back. If the dog isn’t listening make little noises to get their attention back. If they jump on you, raise your leg and gently push your knee into their chest. Never use your own hand as a form of correction. That can cause fear and aggression towards you.