no.
start with showing them a treat and put the treat on the floor. present your right hand to your dog, if they touch it say yes, and give them a treat. you must repeat and repeat and repeat the same exercise, because dogs learn by repetition. the more you exercise this the better they become at it.
once they will continually try to touch the right hand with their nose in this case, because they know they will get a treat present both hands to them and only giving them the treat if they touch you right hand.
teaching no is more challenging. pick a situation you know the dog does not 