In order to protect yourself, and stop the cycle of pain, you must first recognize that the behavior is harmful. If you view a dangerous dragon as a friendly dragon then you are not in a position to slay it.
Once you have determined that the dragon is a threat, you must then determine why you had the need to have a dangerous dragon in your life in the first place. Inviting a dragon into your life is a conscious choice.
Close your eyes and visualize two circles in your minds eye. Through one circle ask a question, and through the other circle receive an answer. Ask yourself "Why have I allowed this dragon into my life?" Why did I feel the need to have this dragon in my life?" What is this dragon creating for me?(Both positive and negative)" Then listen for a thought, or visualize a picture. This is your answer. Behind every negative behavior is a positive intention. What is the positive intention of allowing a dragon in your life?
We all try to meet our needs the best we know how - but sometimes we go about it in very uneffective ways. Deep down, however, our desire ultimately is to fulfill our needs.
Once you have determined what the positive intention is behind allowing the dragon into your life, then it is time to be creative. Ask yourself "What are some positive alternatives to this unresourceful behavior?" "How can I get what I want and need in a more healthy way?"
Then make a list. Make a list of your positive alternatives as well as a list of your support system.
It's important to have a support system in place before attempting to slay a dragon.
A support system could include family, friends, church leaders, etc.

