Upon the approach of a vehicle displaying a flashing blue or red light, the law requires that you must:

Upon the approach of an emergency vehicle displaying a flashing red or blue light, traffic must yield the right-of-way by pulling to the side of the street and stopping. Drivers should remain in that position until the emergency vehicle has passed.
DMV Writen Test