Comment by sxp
One option is to find a good doctor/psychiatrist/therapist and try to get diagnosed. (You can also try to self-diagnose via the Interne, your favorite LLM, or just skimming the https://en.wikipedia.org/wiki/DSM-5, but that's a risker option due to false positives and noise.)
If you do have a well-studied issue such as https://en.wikipedia.org/wiki/Autism or https://en.wikipedia.org/wiki/Schizoid_personality_disorder that interferes with socialization, you can find support groups and people who have been able to succeed even with those issues.
Some of these social problems (e.g, ones caused by missing childhood socialization experiences) are curable through practice, but others will require you to learn enough about human social behavior to mask until someone figures out a cure. It can be exhausting, (just like physical exercise can be exhausting) but it's a useful skill to have in order to do well in life.
Good luck.