When you take someone to court and sue them and get a settlement the Lawyer will take around 40% of the settlement amount that you get after you win the settlement.
Let's say you won a settlement of $30,000.00 and the lawyer took out 40% of the money for the lawyers fees then you would be paying the lawyer around $12,000.00 which means that your settlement would be left with $18,000.00
So your settlement amount out of that $30,000.00 would be $18,000.00 which is still quite a bit after you paid the lawyer.
A good lawyer is expensive and a good lawyer can help you win the settlement in a lawsuit.