There's a lot of different ways to go about this.
For large dents (say, in a door panel or such) I'd try to find pictures of white cars with dents and paste those dents onto a new layer, playing with the blending modes (multiply, dodge, burn, etc) and see how that works out. Obviously will need a little touching up, but that could be one method.