Social Insecurity HELP

How do you combat social insecurities? I often find myself feeling left out and like a loner even when I am invited to gatherings. I try to have confidence and not show my insecurities but inside I am terrified that nobody likes my company. How do let yourself enjoy your time and stop worrying about what people think about you?