A lawyer to take their case on contingency. If the facts don’t favor them no case would be filed by either rich or poor plaintiffs. If you don’t think you will win you won’t sue.
Wealth of the plaintiff isn’t the main factor it’s the strength of the case.