Mektovi is used in combination with another medicine called encorafenib (Braftovi) to treat advanced forms of melanoma (skin cancer) and non-small cell lung cancer with certain BRAF gene mutations.