If you get a dent on your car paintwork then you may not require it to be filled and re-sprayed as use to be the case. There are many companies now offering paintless dent removal services that allow them to pull the dent out of the car without damaging the paintwork. If the paint on the car has been scratched then this will not help with that but even removing the dent can make the spraying job a lot cheaper.
Not all garages will offer this service, but companies like Chips Away do and the price is a fraction of what you wuld pay at a body shop. Ideally you want to avoid getting the car re-sprayed if at all possible as you may find that you then have problems with colour matching, overspray and if not done correctly, peeling paintwork years down the line.
If you have a dent in your car, then why not take it to a paintless dent removal expert and ask for a quote, you may be pleasantly surprised.