An anti-inflammatory painkiller like ibuprofen is regarded as one of the most effective drugs in the temporary control of a toothache. If you are allergic to this drug and aspirins, you can take paracetamol for relieving your toothache temporarily.