When playing with your dog, and they accidentally bite you, immediately let out a high pitch yelp as if you’re hurt. This startles the puppy and gets them to stop mouthing you.