This depends on the circumstances and what the driver was doing at the time. If the driver is found negligent, you may have a claim for damages.