Pericoronitis can develop when wisdom teeth only partially erupt (break through the gums). This allows an opening for bacteria to enter around the tooth and cause an infection. Food or plaque, a film that stays on teeth after you eating, may get caught underneath a flap of gum around the tooth. It can irritate the gum and lead to pericoronitis.