Please elaborate on what kind of surgery you have underwent and assuming you are talking about wisdom tooth impaction , it depends upon the amount of trauma caused in the region , please visit your dentist he will place you on stronger painkiller and muscle relaxant and antibiotics ,duration of pain can vary from a day to a month , and in cases of dry socket it can extend more , wishing you a speedy recovery
Next Steps
Follow up on your appointment and discuss in detail about your problem with him
Health Tips
Do not self medicate and keep patience