You don't. A basic need is a basic need. But you can become more secure in your self-love to the point that lack of desire from others is just annoying and not a cause for major depression. Just like feelings, you can't really control them. But you can control how you respond to them.
Or the other possibility is that if someone isn't willing to even try to meet your need and you can't accept that as it is, you find someone else to meet it.
Chrome
"Recollect me darlin, raise me to your lips, two undernourished egos, four rotating hips"