A drug used with cetuximab to treat adults with colorectal cancer that has spread to other parts of the body and has already been treated with other anticancer therapy. It is used in patients whose cancer has a certain mutation (change) in a gene called BRAF. Encorafenib is also used with binimetinib to treat melanoma that cannot be removed by surgery or has spread to other parts of the body. It is used in patients whose cancer has a certain mutation in the BRAF gene. It is also being studied in the treatment of other types of cancer. Encorafenib blocks certain proteins made by the mutated BRAF gene, which may help keep cancer cells from growing and may kill them. It is a type of kinase inhibitor and a type of targeted therapy. Also called Braftovi.