Break ups?

How do you get over a person..? For some reason I keep wanting to go back to him now matter how much he hurts me (emotionally) it was always on/off relationship. And yet somehow I kept going back to him and we've been friends with benefits for so long and yet I still want him now matter how much I cry over him. No matter how many times he's went with another girl then he would come back to me. I don't know why I kept letting him come back. I feel pathetic. I feel sad. I feel broken and somehow no matter how much I hurt I still miss him holding me, hugging me, holding my hand. I hate how I'm so attached to him. I don't know how to de-tach myself. How to move on from him..