You may have already thought of these, but you can try:
– Attending a few meetups (meetup.com) depending on your hobbies and interests. Volunteering meetups are great if you have no particular interests
– Are you a student or do you work? Asking your coworkers/class mates “hello! how’s it going?” couple of times to start with and gradually asking relevant questions about their life will help you get friends if not having friends is the issue.
These are common suggestions made by many. Sometimes, there are not relevant. Do you know why you do not have a social life? Knowing the reasons will help you find ways to overcome them. I wish you all the very best!