I'm single too Susie and it can be hard. I can understand why you go back to him even though it is a non-functional thing to do.
Could you come up with some kind of plan to get yourself more emotional support? Of course SR is a good start in that direction!