Small ball under skin. Puss when pierced.

Abscess. Depending on where it occurred, it could be from an ingrown hair, local trauma, or other things. Best answer is that you let the pus out. Local warm compresses (like hot wash cloth) over area a few times daily for 2-3 days should help encourage resolution.