As you accelerate, you should:

As your motorcycle increases speed, you will need to shift up into higher gears. Shift up well before the engine RPM reaches its maximum recommended speed. As a general rule, shift up soon enough to avoid over-revving the engine, but not so soon that you will cause the engine to lug.
DMV Writen Test