Take into account the personality of each child. What works for one kid may not work for the other. With one child you might need to rationalise with, the other you might need to be assertive.
There is enough of evidence to support that punishment, fear and shaming are detrimental to a child’s health and wellbeing . But discipline or consequences by engaging a child certainly builds for more robust kids in the long term.
Live by example.
If the behaviour is out of character try and identify the cause.
Always love and cherish your kids they are a beautiful gift to every parent and grow up too quick. Love em.