If you are having issues relating to people then I’d highly recommend speaking to your GP about it.
It could be any number of underlying conditions- you don’t need to go through life feeling like this.
But also putting yourself out there and getting used to being around people in a workplace or learning environment is probably the easiest way to learn social norms. Fake it till you make it.