Milk ducts empty into the nipple so if you have a nipple piercing it is possible for the scar tissue from the piercing to obstruct a duct.
This presents as a painful lump. If the piercing is recent, remove the piercing and use hot compresses several times a day to cut down swelling. The duct may re-open. If it doesn't improve quickly, see your doctor.