It can ache a bit after any sort of dental work, try taking some paracetamol or ibuprofen.
Next time, do ask them to stop if it becomes painful during it. Dental work is not meant to hurt at all-sounds like you needed some more anaesthetic, some people do need more or find it needs topping up. Sometimes going to the dentist is uncomfortable because of pressure and the sound of the drilling etc, but despite what people often seem to think, that they should just put up with a certain amount of pain, it should not be part of the equation.