@Coco47,
Block him and get counseling. Talk to an impartial professional about your self-esteem, about how you were willing to settle and be treated this way. Get some tools to learn how to better assert yourself and not accept crap.
And allow yourself to mourn. It does hurt; it's a loss like any other. So mourn - for no more than maybe a week or two. I'm not saying you have to put yourself out there and try to date immediately, but purge yourself of old messages and anything else that's a reminder.
Rediscover yourself. Take your hobbies back up, and reconnect with your friends. There is a lot more to you than this.