An X-ray of the aching tooth can help identify an inflammation. It can also determine whether the infection has spread, causing abscesses in other areas.