One must identify the pattern in his life that are distorted along with changing behavior and working on strength of emotions. By setting boundaries, taking control of one's actions, and most importantly, taking healthy support, a person can mitigate codependency.