Using one finger of one hand, press down lightly onto the first fret of the string you are changing. Use the remaining fingers to lift up the string. This will ensure that there is slack on the string to use when winding it later.
Wrap the string around the peg clockwise and underneath itself.
Fold the string over itself and crease it so it will stay in that position when you wind it.