Hi, it seems like you might have social anxiety. It will be helpful for you to think of all the triggers that make you feel this way( how many people are there? What do they say or do? What are the thoughts in your mind during such situations? How do you feel physically? etc). Sometimes our irrational or unhealthy way of thinking can cause us to feel unhealthy emotions which in turn affects our behaviour. By changing your irrational thought, you can change how it impacta your feelings & behaviours.
Next Steps
You can find ways to work on your interpersonal skills. Your best friends can help you feel more comfortable in social situations if you are willing to share your issue with them.
Health Tips
Good luck. If you have any other questions, please feel free to consult me!