Hiding from the world/people will only keep a person imprisoned. In order to learn and grow, you have to try rather than hide. But the biggest thing you have to learn to do is EMBRACE mistakes. That means not taking the things you do wrong to heart. It's the anxiety and inexperience that makes the situation hard. If you blame yourself as a person, telling yourself "I'm such an idiot, loser" etc., then you are just compounding the problem.
When you learn to drive, you have to accept you won't be perfect right away. That's the same with anything you start to learn. Babies embrace and accept mistakes when learning how to walk. We embrace mistakes when we are learning how to ride a bike. We also must accept failure. Failure is a precursor to success. Michael Jordan missed the vast majority of his shots. Barry Bonds failed over 70% of the time he was up to bat. But eventually, we learn from our failures and we grow. We hit the ball out of the park, we ride the bike and drive the car, because we accepted the failures and grew from the mistakes. Had Bonds just said "I can't bear the thought of striking out so I won't even go to bat" then he misses out and never becomes a good ball player.
Eventually, we will become numb to failure, and be free to enjoy the successes. We can feel good knowing that life only brings growth. Keep trying, and keep learning from your past mistakes, and eventually you WILL become a good socializer.