What you need to do is to stop being afraid that every little mistake you make is going to cost you your friends.
It is nice and it is important that you care so much about the relationships you keep but it’s not like you mess up on purpose. Don’t beat yourself up for committing errors. You are not perfect and that is the best thing you can ever be because your imperfections and how the people in your life treat them is the best measure you have of how much they love you and if they are worth keeping.
Give yourself a break. It’s okay. You’re doing your best.
Be who you are and say what you feel because those who mind don’t matter and those who matter don’t mind. -Dr. Seuss