I can't let him go

I knew after a while of being in a relationship with my ex that he wasn't right for me.

Even tho I knew that I still stayed with him, we broke up the other day but I still can't let him go.

A part of me wants to keep fighting for our relationship but I know it's not right.

How do you let someone go?

It's easier said than done.