If the car is not in that bad of shape and the frame is still straight, buy the car back from the ins. company and that the check to fix it. It will be a salvage title but you’ll get your car back probably better than it was when you got it (i.e. new paint, trim, etc…)