You can take ibuprofen when you have a toothache, but it can only temporarily relieve the pain, not play a curative role. When you have toothache, you should take oral painkillers to temporarily relieve the pain, and then promptly visit the hospital for a specialist examination by a dentist to determine the cause and treat the problem. If the pain is caused by pulpitis or periapical inflammation, endodontic treatment should be performed in order to cure the tooth completely. If the pain is caused by peri-coronitis of the wisdom tooth, anti-inflammatory and symptomatic treatment should be chosen according to the individual situation and systemic symptoms, oral or infusion treatment, local use of hydrogen peroxide and saline alternately rinse the blind pocket, generally about a week the pain will disappear, should be selected to remove the wisdom tooth to eliminate future problems.