Depends on where it is. If it's closer to your nipple and areola it's probably an infected gland, there are glands around the nipples that keep the skin of the nipple and areola hydrated. Even when these glands aren't infected if you were to squeeze them, something similar to the consistency of a pimple's insides comes out. If it's further out on the breast, it's probably just a pimple.