I read some articles about that and they suggest that
1. Catch them being good. Give attention for appropriate behavior. Look for opportunities to make a positive comment. Fill up the attention hole with good stuff as many times a day as you can.
2. Ignore the misbehavior but not the child. Negative reactions will only keep the negative interaction going. Instead, simply quietly send her to timeout When the time’s up, invite her to come back to join the family. Give her reassurance that you know she can behave now. Then find a way to engage with her positively for at least a few minutes before moving on.
3. Be consistent. It’s the only way children know we mean what we say.
4. Repeat. Repeat until the child gets it. Repeat whenever misbehavior is more than a momentary lapse. Repeat more than you think should be necessary. Do it until it becomes a pattern of interaction in your family’s life.
It is good principle for parents to deal with kids every day.