If you do decide to have it repaired (this is especially if you are doing the work yourself or a friend / family is) be sure that you fully understand everything that needs doing. If the car has sustained a significant impact there may be further damage found when you strip parts of so you should always allow for this as once you have brought the car back, the insurance company or garage will not be responsible for anything else that is found. The vehicle may need to go on a jig to pull it straight again, if this is the case the use of a jig alone can be costly and the chances are there may be more to the damage than meets the eye. You will probably also have to have the car wheels realigned and may need a certificate to show that it is roadworthy again. Some insurance companies will not insure written off vehicles once repaired and if they do will charge a hefty premium.