When a girl is being a brat to you. What's the majority of puas going to say...punish her. Let me explain why this is bad.
Woman love and crave attention. Attention in its self has power. It can give a person a sense of being. Not to mention your reacting to them as apposed to them to you. And as always the person being the most affected is always the weaker. By punishing a behavior your giving them all of this.
Now the right way to do it. Just ignore it. That is the base of this theory. With all organisms if it isnt benifting you than its wasted energy. If you ignore it then your not feeding it and so since its wasted effort she will stop doing it. She will quickly autocorrect this behavior if she doesn't get anything out of it and you come across as an emotionally strong alpha male. This is a great way to pass sh1t tests. And as a last comment. When you do this be as unaffected emotionally. Dont show that her brattiness fazes you or she will still get a high off being so powerful as to affect you.
Feel free to ask any questions