How can I overcome a lonely life?

So I’ve met people, I have friends, but never had a real relationship. Been this way for the last 10 years and I’m sick of it
How can I overcome a lonely life?
Post Opinion