Well, the obvious thing to say is: get a girlfriend. The second most obvious thing is making you a suitable bachelor. Are you ugly? Are you in shape? Are you curating skills that would make you a good boyfriend? What benefits does a woman have by being with you? What do you bring to the table that she can’t get with any other dude?
By getting over whatever conditioning made you feel that your sense of self worth is tied to how many women you can woo in how little time, or to being in a relationship. Cuz frankly, this isn’t something that should be weighing on you (and many other people, for that matter), but it does while serving you ZERO purpose.
Girls flock for a couple things. Firstly, and most importantly, you have to look nice. Or at least decent. It’s superficial but people make a lot of assumptions about you given only what you look like. Secondly, you need to be interesting. Nobody wants to date a loser (no disrespect)