My fear of abandonment is very bad in romantic relationships 

My fear of abandonment has triggered me to get so scared of getting too close to him because I’m gonna get hurt. But at the same time I love the passion and happiness I feel when I’m with him. then I act indifferent toward him (this mostly happens over text) and I push him away. Eventually I’m gonna push him away that he actually leaves. It’s happened twice before. What a self fulfilling prophecy. But I’m trying to change. 

Do others experience this and how do you cope? What skills do you use