>>7254556There's a lot of good advice in here. I'll definitely second the "diet and exercise" line of advice. I was in a similar state of mind when I was 25 and I think I've really turned myself around and am much happier now.
My advice is to set a date, maybe one month from now, maybe a week, it's up to you. And decide you're going to make a change in your life. It doesn't even have to be a huge change. Start with calorie counting and walking for 30 minutes a day. Do that for three weeks and I think you will be surprised at how different you feel. Also, if you smoke weed, make that part of your change. STOP. Maybe not forever, but at least until you get your life straightened out.
Another thing that helped me was moving to a new city. I know that's not an option for everyone, but I think that really helped me. Living in one place, you really get into your habits and routines and when they're not healthy routines, it's hard to break out of that cycle. Moving somewhere new can give you the opportunity to "re-invent" yourself. Decide you're going to live differently and then do it.
Can't give much advice about loneliness/friends/romance unfortunately. Get a pet if you don't have one.
Good luck.