Lapatinib is primarily used in the treatment of HER2-positive breast cancer. It is often prescribed in combination with other therapies such as capecitabine or letrozole. Lapatinib is typically used in cases where the cancer has metastasized, or spread to other parts of the body, and in patients who have already received other treatments like trastuzumab.