An ingrown toenail is when the nail grows into the skin, usually at the sides of the nail. This irritates the skin, often creating pain, redness, swelling, and warmth in the toe. If an ingrown nail causes a break in the skin, bacteria may enter and cause an infection, which can lead to pus draining from the area.