However, all these measures are going to give you only a temporary relief from the toothache. For permanent relief, the exact problem has to be identified by the dentist. Based on that, you may have to undergo filling, or root canal treatment, or an extraction.