Wa alaikum salaam wa rahmatulahi wa barakatuh,
Unfortunately, this is something that most parents go through at some point and is one of the major challenges that comes with parenting. There are however several things you can do to try and minimize the effect of this.
First of all being a good role model to them. When people make us angry, it often becomes a natural is a tincture to bite back. This usually only makes the situation worse. Adults are able to tell the difference between right and wrong and know how to respond accordingly.
When behaving this way towards children however, they see you as their role model and will come to see your trespassers to them as what is expected behaviour if one feels angry. This will then only lead them to continue with their quarellsome behaviour towards you as you as their parent behave this way towards them and therefore this becomes the only way they come to understand managing the situation. As a result, the first step to take to try and overcome their behaviour is to modify your own to be in line with how you expect them to behave. This might seem quite difficult at first.
Controlling oneself when feeling mad sure is difficult, but remember that they are paying close attention to you and are learning their social skills from you I the belief that as their parent, are their role model and will emulate all that you do. If you wish for them to be calm and mild mannered, then you must behave in this way also.
In line with this, there is no shame in going back to them at some point later when you’ve cooled down and apologising to them for any irrational and harsh words you may have used. Again, this is a means to teach them how to respond in such situations. If they see you apologising when you are wrong then they too will learn from this and know when to apologise to you if they have done wrong.
If you find that in the moment you are having a hard time controlling your anger, then it is advisable to take a break and walk away for a few minutes just to compose yourself and be ready to confront their behaviour in a more rational and calm way that won’t result I you become mad and cursing them. If you speak to them in a calm tone, then they will speak back to you in a calm tone and you are more likely to come to an agreement.
At the same time, they do also need to be taught respect. If you are able to calm the mood down enough to talk in the moment then you can teach this in the moment by giving everyone a say and allowing each person to have their voice heard. Of not, you could encourage everyone to take a calm few moments away from each other to compose themselves and then come back ready to take turns in have g their say.
No one likes to not have their voice heard and therefore simply allowing each person to express their feelings without being interrupted can be enough to prevent arguments. When everyone tried to talk at once no one can express their points clearly and no one’s voice is heard or acted on and things only become more and more heated. If things heat up again, then again, pause the conversation until everyone is quiet and try again.
If things still remain unstable then you can consider reprimand them in the way you see fit, for example, removing privileges for a time to allow them the space to think a out their disrespectful behaviour and be prepared to talk more calmly and respectfully.
Overall, the key is to try and meet them half way and be a good role model before taking more firm approaches. Quite often all that is needed is for the parent to calm the situation themselves in order that the children will emulate the behaviour and approach the situation more calmly and respectfully.
May Allah give you the patience to deal with your children calmly. May He give you the strength to raise them on HIS path and may He reward your desire to do best for them.