The proper procedure is to bring the car to a stop first by pressing the brake pedal, ensuring that the vehicle is completely stationary. Once completely stopped, release the brake pedal, place your foot on the brake, then shift into Drive. This helps to protect your transmission from unnecessary stress and ensures a smooth transition.