There is a balance to this. If you always only listen to others and never speak about yourself, you fail to build connections with them (because they know nothing about you). I had the opposite problem, I made every conversation about them and had to learn to change that in order to be able to make friends.
The key for me is people like to engage in a conversation about themselves, and that requires you to:
* deeply interact with them about what they care about, challenging them m and giving them a chance to defend themselves and their beliefs in a way that is respectful and demonstrates true interest
* weave yourself into the conversation bringing your experiences and thoughts into their conversation about themselves
* try to learn something new from them, and be sure you articulate what you’ve learned clearly
* bring new information to them about the things they care about and get their views on that information
Etc
It’s basically the same as any conversation that’s not a monologue, even a solicited one. They want to feel important and interesting to you, and learn about you at the same time. But in the end you can’t assume they’ll be interested in you at first, so it’s often useful to lead the way by being interested in them. If you are a person who likes to learn, this shouldn’t be hard. Just try to avoid sinking into social anxiety as best you can as that’s when things become forced and weird.