Hello. Has this symptom been persisting since you had the surgery done? Or did this start recently. Pain even after surgical extraction may be due to 1. Remaining root piece in the bone socket 2. Unhealed bone(dry socket) 3. Muscle or joint spasm due to prolonged mouth opening during procedure. Exact diagnosis can be made after clinical check up and fresh X-ray of the area.
Next Steps
Get yourself checked clinically by a dental surgeon
Health Tips
Don't open your mouth too much, and don't chew hard food items.