Resistance is often detected through a combination of imaging techniques, biomarkers, and clinical assessment. For example, if a tumor does not shrink or starts to grow again during treatment, this could indicate resistance. Liquid biopsies can also be used to detect genetic mutations associated with resistance.