I've struggled with social anxiety my whole life. I've found that it really isn't possible to resolve, but you can effectively manage it by adopting strategies around your behavior.
For example, I force myself to socialize with friends once a week for at least an hour even if I don't want to. Exercising social muscles will prevent atrophy, which just makes me more inclined to isolate.
I'm sure you will figure out what works best for you. Your self awareness will be an asset. You got this.