If you puppy pees in the wrong place in the home, yelling and rubbing her nose it in will not help. Dogs don’t understand what you are doing. You need to train her which are the OK places to pee. If its indoors such as a puppy pee pad. Make sure you offer lots of praise when she goes on the right spot.