F*cking up

I have cheated on my other half a few  years ago. I only talking and nothing else. But I know cheating is cheating. She has not taking me back or really loved me, at least she does not show it. So I decided to move on because I feel like we are going in circles. So I block her and her family out of my life. What should I do? Or should have done other wise?