Can I shout and swear at my parents after a beating?
What will you do after shouting and swearing at them?
I will try to resolve the situation.
It is good that your goal is to resolve the situation but there needs to be done more to resolve it. They shouldn't be beating you and you shouldn't be swearing at them. That relationship is abusive and toxic and needs more to heal it.
I'm going to wash my mouth out with soap.
I'm sorry you are in this situation. It is wrong to say those things to your parents and it is wrong for them to beat you as well. There has to be another way to communicate what you both want.