What I am supposed to do?

, hi everyone, I just had a question, I had a friend , some people who likes me, when we don't deal good or break up , I block them on Instagram or WhatsApp, its like my anger and sadness doing this , and am I doing right , or just don't chat with them, block them is good or not, , what if they wanna chat with me in future and regret cause what they did, block maybe mean and rude and I don't know ,
What I am supposed to do?
Post Opinion