Are you the new kid at school? Are you one of those people who sit alone at lunch, hate it when teachers make you choose partners and don't like going to parties? Loner. Go make some friends. You can't talk? The actual way to make friends is to do it by yourself, but if you need somewhere to start...
1. Eavesdrop on a conversation
...and consider if you agree with them or not. Creepy, but at least you know what to talk about. Start hating on a class or a person. Judge other people together. Hate on teachers. Kick dogs. Talk to the stranger next to you in class and you might end up having the privilege to eat with them during lunch. The most awkward and cliché way to start a conversation is "Hi. My name is ____, what's yours?"
2. Show Effort
You can't make someone stay if you don't give them your time. If you just have half-hearted conversations, you won't get anywhere to a close friend or any friend at all. Maintain that effort; if you don't continue to care about them, they won't stay, either. This goes the other way around, too. If they're not giving you their time and attention, stop trying to be friends; you're wasting your time. Make an effort to be in the lives of others and appreciate the ones who return the effort. Don't take others for granted, and don't let them take you for granted.
3. Initiate the Conversation
A reason why you don't have much friends might be that you never tried. Don't expect others to constantly try to talk to you. Make plans to go somewhere with friends, or else they'll feel like you don't care. If they suddenly stop talking to you, chances are they were always the ones to start texting you, and you should greet them first this time. If all fails, at least you tried, and that's better than letting a potential friend go by not showing that you care. Nobody will think that you are desperate; it's a regular thing for people to talk to others. No one will judge you. Ignore that fear of rejection because no one would deny invitations to hang out unless they're busy or they're like you.
4. Stop Being Lame
Are you one of those people who don't go out because you don't feel like it? You have all the time to go to the places you are invited to, but you don't, because you would rather stay at home and enjoy the silence. Every single time, you bail out because you just don't want to, even though your time is free and you have nothing to do. Your friends will stop inviting you to places because you always reject them, and your potential ones will have bad impressions on you. Stop being boring and go hang out with others.