When stopping, it is best to:

For maximum straight-line braking, you should apply the brakes smoothly and firmly. As more weight transfers forward, more will be more traction available at the front wheel, allowing you to apply the front brake with progressively increasing force while reducing the pressure being used on the rear brake. Keep your knees against the gas tank and your eyes up to help keep yourself moving in a straight line.
DMV Writen Test