Fear of Rejection

I have this very strong fear of rejection I cling to anybody that will show me attention. So I go in this cycle, I meet somebody that likes me I don't really like them but, I go out with them because I think that nobody else likes me so I might as well go ahead and  date them and, its better to be with somebody than nobody. Then after a wile they pick up that I don't really love them so they pull away and I start to freak out because I don't want to be alone.  I don't know how to break the cycle I want to be with somebody,  but I feel like I can't get what I want, so I have to settle for what I can get.  If anybody can help please send me a message