i’m a girl so sorry if this doesn’t help but i’d say the thing that helped me with being lonely is being okay with it. i take myself on solo dates to restaurants, beaches, movies whatever. eventually i enjoy the feeling of not needing someone. im alone like 95% of the time and i make it worth it because im living for myself and thats all that matters