Do not base your decision to shift gears on:

One way to know when it is time to shift gears is to learn your vehicle's operating rpm range. You should shift up when your engine reaches the top of that range. You can also learn which speeds each gear is good for and shift up based on your speedometer.
DMV Writen Test Logo