Feeling depressed/ left out

What do you do when you feel like your missing out on so much that it gets you depressed. Like your friends treat you differently or don’t really hang out with you anymore ?