Delete them from your contacts so you are not tempted to contact them again, as well as not letting them contact you. Reframe what you thought the relationship was to what you now understand it to be. Know you are doing what’s best for you. Distract yourself with new, better experiences.