A system for the treatment of targets under the skin of a patient comprising: a laser device for emitting a first series of laser pulses towards an area of the skin of a patient, where a target which must be reached by said laser pulses is located under said skin; a cooling system of said area of the skin by means of a cooling fluid; a first measurement sensor of a first temperature of said area of skin; a second measurement sensor of the temperature of said cooling fluid; said computer which receives the signals from said first and second temperature measurement sensor; said computer controls said laser device that emits a first series of laser pulses having predetermined power, duration and spacing; said temperature measurement sensor measures the temperature of said area of skin, following said first series of laser pulses; said computer calculates the predicted temperature reached of said area of the skin following the emission of a second series of pulses having said predetermined power, duration and spacing.