There is no medication which can "cure" the toothache.... it needs to be attended by a dentist for an objective treatment, because tooth is the only structure of the body does does not show healing.
Any painkiller will subside the pain for a few hours but it will definitely come back again.
Next Steps
visit your dentist soon for the treatment of this problem before it aggravates further and causes more pain and/or swelling.
Health Tips
please do not experiment with your health by trying random home remedies.