I have always been taught with bikes and cycles. Apply both brakes, front brake is doing the most stopping. If your back wheel starts to lock, slightly lighten the pull on both. The back wheel skidding is generally an indication that you are on the front brake too hard. Obviously this is a "within reason" type thing and assuming you are not on the back lever with the death grip.