You were a pedestrian and you were hit by a car you suffered injuries what to do?

If you were walking on the crosswalk and if you were not at fault, the driver should be responsible for covering the cost of damages... assuming you were not doing anything wrong like not walking on the crosswalk, or walking on the crosswalk when it says not to...