Typically you would file a claim against the driver’s insurance and the rideshare company’s insurance policy. Suing Uber or Lyft directly is rare but possible in certain circumstances.