When bacteria gets into the root of a tooth, it can cause a buildup of pus. This kind of infection is called an abscessed tooth, or a periapical abscess. These infections don’t go away on their own, so it’s important to see your dentist if you think you have one. If it’s not treated, it can spread to your jaw or other areas of your head or neck.