Medications for pancreatic cancer are used to treat cancer that begins in the pancreas. Many of these medications also have other uses, such as treating kidney or breast cancer. They work in various ways to stop cancer cells from growing and spreading. Common classes include chemotherapy agents and targeted therapies. Chemotherapy agents like gemcitabine are usually given as injections. Targeted therapies, such as erlotinib (Tarceva) and olaparib (Lynparza), are typically taken as oral pills.