Practice talking to people as much as you can. Avoiding social situations will only make it harder in the long run.
Stay focused when talking to others. Don't look around or worry about what they think of you. Give them your full attention.
Before going to a social event, think of questions you can ask people to get to know them better. Avoid sensitive topics like politics and religion when you first meet someone.
Be a good listener. Ask open-ended questions that make people share details about themselves. Don't interrupt.
Instead of worrying about how you come across, focus on making the other person feel comfortable. Stay present, ask questions, listen, and give compliments.
If you really struggle with being socially awkward, ask a friend who is good at socializing to help you practice. Watch how they talk to people and get their feedback on your own skills.
Remember, practice talking to people often, don't worry about being judged, ask questions and listen, and get help from a friend if needed. You can improve your social skills with time and effort.