By refusing to accept it and instead analyze every single detail about myself and work to improve it with the end goal being not being alone forever. It took a while, but it worked. People who hadn't seen me in a year or two literally didn't even recognize me, this is my extended family who I'd see regularly BTW. When I tell people I used to be an antisocial shy insecure nerd they refuse to believe me, everyone thinks I'm extremely confident and extroverted.
There's people who accept their fate, which desu I did for the first 23 years of my life, and then there are people who work to change it instead of just giving up