RET inhibitors are used to treat non-small cell lung cancer, thyroid cancer, and other solid tumors with RET mutations. RET inhibitors work by blocking the activity of abnormal RET proteins, which can help stop or slow the growth of cancer cells. These medications are usually taken as oral pills. One example is Retevmo (selpercatinib).