Sometimes, It works and sometimes it does not. Anyways, medicine is a temporary thing to get relief from dental pain. You must visit a dentist and get the treatment done. If it is a wisdom tooth issue, Then better to remove it. Otherwise, Other teeth can be treated with root canal treatment.