A method of operating a flashlamp in a skin treatment system comprises the steps of charging capacitor, discharging the capacitor through a flashlamp, and interrupting the discharge of the capacitor through the flashlamp at a predetermined time based on at least one condition caused by the discharge of the capacitor through the flashlamp.