Palbociclib is used to treat a certain type of breast cancer. It works by slowing or stopping the growth of cancer cells.