The present invention relates to a new approach for treating a cancer or fibrosis, such as hepatocellular carcinoma, or liver fibrosis using an extract from a plant of Graptopetalum sp., Rhodiola sp., or Echeveria sp., and prepared by extracting the plant with dimethyl sulfoxide (DMSO), its fraction or the compound isolated from the extract.