Thought this was Ask Lemmy for a second. Autism? That's harder. I haven't had much luck myself. But where I have:
-
At work, be good at what you do. If you lean into learning/collecting information, you should be able to turn that into expertise, and while you may not be the best at expressing or teaching that knowledge, you can use it to help others, and that will get you respect from the right ones. I've made a couple friends at work just by being willing to share what I know and help others. Unfortunately some of the wrong ones will see it as weakness, and you know more often than not it's the wrong ones in positions of power.
-
Outside of work, find something you enjoy and join a club for it. A good one is D&D. While previous editions involved a lot of math and/or plastic figurines that can get expensive, the current, fifth edition is strictly pen, paper, and dice. You can get character sheet apps and dice rolling apps, and despite the "three core rule books" being $50 each, firstly a player only "needs" the Player's Handbook; secondly, the books are more like $20 on Amazon (the publisher sells them for about $15-20 but the MSRP is $50 to allow game stores to make more money — Amazon doesn't care about that, they just apply their traditional rate to what they pay); thirdly, you don't even need the PHB, the free standard rules are fine, they just include fewer options; fourth, PDFs of all the books are not hard to find online (or you can just ask to look at someone else's; they're nice but D&D people tend to share). For dice rolling apps, some are free and some are paid, or you can just ask Google or Siri to give you a number between 1 and 20. Or 1 and whatever. It's the same thing, just less satisfying than throwing a dice. Anyway, friends tend to get made at D&D groups.
Disclaimer: I've never been diagnosed with ASD. My generation, they just told us to go outside and play. Younger generations who have been diagnosed, I've had several family members tell me I was the same way. I don't know if I'm on the spectrum or not, but "it's likely I am." Should a guy in his mid 40s pursue a diagnosis? If so, for what? If I'm on the spectrum, I'm on the edge of it.