Good listeners help speakers figure that out by asking questions and encouraging elaboration. You know you’ve succeeded as a listener when, after you respond, the other person says something like “Yes, exactly!” or “You totally get it!”
Instead of giving solution right away, I should start asking questions until he/she says "You totally get it!"