"I went to the beach last weekend, read a great book!" "You read a greak book?" "Yeah! It was by this author etc etc..."
It feels weird when you do it, but you never notice it when someone does it to you and it always feels nice because you know they were listening to you.
Also, the #1 thing is that you should be asking questions. Being a good listener is about asking questions 90% of the time, and those questions should be related to what the person is talking about.
For the previous example, if the conversation peters out, you can just ask something easy like "What is it about reading at the beach that you love so much?"
For me it’s putting my phone upside down, so I’m not distracted by the notifications, focusing on what the person is saying, repeating it back when appropriate, and by actively trying to understand their perspective / emotion(s).