If someone else was at fault in the accident, then the liability insurance of the at-fault driver may have to pay for the bills. If the driver at fault was uninsured, then you may have uninsured motorist coverage either on your policy or on the policy of the owner or driver of the car you were in. That policy may pay the bills. Health insurance also pays when the auto insurance runs out.
Most cars involved in an auto collision are damaged. Some cars are totaled, and some are repairable. In either case, it is important to know