Toothache has an underlying cause. Either infection of the tooth nerve(pulp) or abscess in gums. Please get yourself evaluated clinically by a dental surgeon and get the required treatment. Meanwhile you can use Tab. Ketorol DT twice a day after food, as an emergency pain killer. But get the treatment asap.
Next Steps
In addition to pain, a priority is to save your tooth so go for the treatment immediately
Health Tips
Prescribed pain killer will only reduce the pain for limited time. Actual pain can only be controlled on proper treatment.