How do you leave ?

How do you leave a relationship that you know is bad for you ? (And please don't say just leave) I need advice, how do you disconnect yourself from a situation that your emotionally and physically attached to ? No matter how much you know the person isn't going to change, it's just so hard to walk away and face reality. Please help any piece of advice is appreciated.