The reason you feel you never do anything right is usually because you tell yourself that. Even if you screw up, laugh at it! Forget about it! Your destiny keeps rolling on and no-one cares about mistakes. It's all about powering through or fixing the mistakes and smiling about it.
As for making friends, it is hard when you are young. I know all about that, not having friends throughout childhood. But as you get older, in high school usually, people stop being brats and act like themselves...yes there is still bullying and loners but it is more real and less faked. I'm sure you will find people to hang out with, even I did eventually. You have to approach or be approached to start a friendship, but sometimes it just happens, friends just drift together...and usually this latter random type of friend is the best match for you.