If I'm explaining my problem to a scholar or a therapist and I'm explaining how certain person has so and so bad qualities or deeds, will that be gheebah too? Also, I've heard a saying from 8th Imam I think that we shouldn't discuss our problems with anyone but Allah. We should be patient. I want to follow this but I feel like I need guidance and help in various situations. What should I do?

No that’s not gheebah. Now try to avoid revealing the exact details of their identity. For instance, instead of saying “my brother x” say “one of my family members.” It’s ok to consult a believer and ask them for advice. If you are complaining just to complain that’s makrouh. But if you are talking about your problems to seek advice that’s good.