Of the following, it is most important to flash your brake light when:

Because a motorcycle's brake light is not as noticeable as the brake lights of a car, it is usually a good idea to flash your brake light when slowing or stopping so others will be more likely to notice that you are decelerating. This is particularly important if you are slowing down more quickly than others might expect.
DMV Writen Test