A method is disclosed for controlling milking by a milking machine by gradually increasing the milking vacuum during an initial phase of the milking. The milking vacuum is increased from a first selected vacuum level towards a second selected vacuum level to improve teat stimulation and decrease the risk of a second milk letdown.