If you are threatened you can go into a defensive posture. If you are attacked you may d efend yourself with an appropriate degree of force, up to and including killing your attacked.
Better to walk away. "Sticks and stones" and all that. Later you can drop that brick on their head.