If the damage to your car is greater than your car's worth then it is considered to be a "total loss", and typically should not be repaired. If the loss is being paid for by an insurance company then the insurer is normally required to pay you an amount equal to the car’s value based on the condition it was in prior to the accident. Once a settlement is reached, the insurance company takes possession of the car and you will need to find a replacement vehicle.