Comment by ekr
I know I'm too being vague, like all other comments in this thread. But my suggestion would be to work on feeling well/good. The energy one emanates is what attracts or pushes other people away. It is of course a very complex topic, how to reach a state of emotional well-being, but you can start by taking better care of yourself, your health and your mood will also improve.
Once your general state of health/emotional well-being improves, you'll see that this state of craving others also fades.
So how do you improve your well-being/health? The cornerstone should be paying attention to your body, your sensations, feelings and listening. Resting well when tired. Eating well. Noticing your thoughts, especially negative thoughts about yourself. Learn to be kinder to yourself. If you do these things, you'll feel better and you'll become a bit more attractive to others.