What to do

So I have been on and off with this boy and each time I always give him a chance and he always messes it up but there is something about him that I really like and it really annoys me and I don’t know how to stop likening him any tips