To add to what sm1ke said, always insist that a description of the problem be written on the repair order, not just the service writer's guess at a fix. If the work did not fix the problem, don't pay. Always pay by check. This gives you a few hours or a day to stop payment on the check if the problem persists. A credit card charge can be disputed, but (a) it must be posted to your account first, (b) there are limited specified reasons to dispute, (c) it goes back to the billing party for review. A stopped check is final. Always discuss a problem billing, in this case an ineffective repair, with the shop or store before disputing.
It's a bit tricky when one doesn't know cars and the service writer says, "we can fix that squeal with a brake job." That usually means that they'll fire up their parts cannon and put every new expensive part they can on that section of your car. You'll get parts you don't need, but you just don't know. And, if the problem is still there at the end...see the next paragraph.
As said by sm1ke above, request an appointment with the manager of the service department, the actual service manager (not just a service writer) to discuss why you should pay for work that did not fix the problem that hopefully was stated on the repair order. The dealership wants satisfied customers. As always, be business-courteous. Check your state's law regarding auto repairs. Some states have regulations regarding repairs that install unneeded parts and repairs that are unnecessary...and work that does not fix the problem is obviously unnecessary.
Dealerships give the manager title to too many people. The *finance manager* is actually the finance & insurance salesman (F&I guy) who is paid on commission for the unneeded and/or overpriced stuff they sell you when you buy a car. The *service manager* usually is a commission paid service writer. There are actual managers with authority in the dealership, but it may take some digging to find them.