You don’t need to keep doing that negative behaviour no more because you know the damage it is doing to you and others. I wonder if you could imagine what you could do if this negative behaviour was gone?
I used to bite my nails terribly and it happened all day, even when not stressed or anxious. It was a negative behaviour that I knew when it was going to happen. Since starting my journey I have stopped and they are getting stronger and longer. I know it worked for me so it will work for you.
You are never going to have this negative behaviour again. Your unconscious mind will take on the words I am saying and you will feel like you have control. No habit can stand up to the power of your mind.