I recently got a puppy, 2 days ago in fact. The best method I've found is when she nips immediately walk out of the room and stay out of their for a few minutes, if she whines for you ignore her until she stops, then return, repeat and she should stop.