The more you chase someone, the more they'll pull away. If you want to attract someone, act like you don't need them. Be confident and independent, showing them that you're perfectly fine on your own. This will make them want to be a part of your life, and they'll be more likely to stick around. Needy people are unattractive, so avoid appearing desperate or clingy at all costs.
If you can stay in your frame, people will be drawn to you. They'll be curious about what makes you so special that you don't seem to need anyone else. Confidence is incredibly attractive, so by exuding confidence, you'll increase your chances of attracting the right person into your life.
Needy guys are unattractive, so not in the physical sense but guys if your always being needy its not a glowing beam of light to you. If you work on being content and happy without someone else, finding the happiness in you , the internal source ( you) rather then an external source( them) you'll be much more likely you will attract someone who wants to be with you. So focus on yourself and your own happiness, and let the rest fall into place.
Hard to see how this is important but think about it, if you're doing your own thing and doing just fine and find comfort in your own company. the more you focus on your own life and making yourself happy, the more likely it is that someone will come along and want to share that happiness with you. So don't chase, attract , just relax and let it happen.
So the key here is that you do this not for an outcome but because you want to be happy and okay with who you are, don't get attached to an outcome " like oh if I do this and then someone will come into my life ". no, don't do that do it because you want to change for yourself.
So the bottom line is, if you want to attract someone, don't chase them. Instead, focus on yourself and your happiness. The more content and satisfied you are with your own life, the more you will attract that back into your life . So relax, let go of the outcome, and just enjoy the process.