A method for providing localized heating of the dermal layers of skin of a patient, using energy in the form of a group of pulses having defined parameters in a controlled manner. This method preferably uses an optical delivery system to deliver pulsed energy to a specific spot of skin so that targeted layers of the affected skin are heated to a desired temperature range. The temperature range is optimally selected to maximize treatment efficacy while minimizing pain to the patient. Example applications include reducing wrinkles, acne, hair, scar tissue, warts, and promoting wound healing. In this method, the temperature of the selected locus rises quickly to the desired temperature range, then is maintained within a controlled range with a relatively flat temperature profile. The method maintains the temperature by controlling one or more of a pulse energy intensity, pulse width, and pulse frequency or time delay between pulses.