How do I stop being lonely?

I’m almost 17 and I’ve only dated one guy (I’ve had things with other guys though) and that ended a year ago. I have a crush on a guy who doesn’t like me back and I’m super lonely. There aren’t any other guys I like or could see myself liking and I miss having someone to kiss, laugh with and being in a relationship. How do I stop being so lonely?