To avoid being sued, it's important to be honest with potential buyers about any known issues with a car before selling it. This can be done by providing a written disclosure statement that lists all of the known defects. If there are any major problems that could affect the safety or drivability of the car, it's also a good idea to have the car inspected by a qualified mechanic before selling it. This will help to protect both the seller and the buyer from any potential legal problems.