As you enter an intersection, the traffic light turns yellow. You should:

When a traffic light turns yellow, approaching drivers must slow down and stop. If you are already within the intersection, or are so close to the intersection that you cannot stop safely, you may proceed through the intersection with extreme caution.
DMV Writen Test