The invention relates to a compound selected from among celastrol, the derivatives thereof and the pharmaceutically acceptable salts of celastrol and its derivatives, or a composition comprising such a compound for use in the topical prevention and/or treatment of a tumour or precancerous disease of the skin.