When an employee, family member, or friend brings you problem they are facing, how can you tell if they want solutions from you or for you to just listen?
Also if they are looking for a solution, ask first what they have tried or thought they could try. Get them thinking first.
Then if it does come down to offering your ideas, offer options, plural, so they can choose, and make it clear that these are ideas that if they choose something different you won’t be hurt. The choice is still their own.