This disclosure relates to an in vivo treatment of a skin lesion of a mammal comprising application of electrical energy to the skin lesion in a form of electrical pulses. At least one electrical pulse is applied. The pulse duration may be at least 1 nanosecond at the full-width-half-maximum. This treatment may prevent at least growth of the lesion.