How to stop feeling unwanted after rejection?

Some time ago I confessed my feelings to my long term crush. He turned me down nicely and offered to hang out sometime. It was hard for me to accept it as I was so sure he felt the same for me. Regardless I kept texting occasionally to keep in touch but he slowly started to ignore my texts and gave one word replies. I even made a plan to meet which he didn't reply to for days and then made an excuse. Now I already have self esteem issues and my pride is broken. I feel unwanted and pathetic because he didn't even keep me in the friend zone.

Then I tried talking to talk to this new guy I found interesting but he too started stalling conversation with me after a day. I can't shake the feeling of being unwanted and feel like a loser. Whenever I see my crush on instagram I'm reminded of my insult again and again and it messes me up.

I tried blocking him but I keep adding him again as I start missing him and feel weak for removing over this reason. A part of me still wants him to be in my life in some form.
How to stop feeling unwanted after rejection?
How to stop feeling unwanted after rejection?
Post Opinion