How to break an attachment with someone!

I should have left this relationship a long time ago after seeing so many red flags. I’m finally taking the next step which is cutting him off and start to heal. Any suggestions?