There are three basic types of light switches. The first is a simple, single light switch. The second is a 3-way switch that controls one lighting fixture from two locations. The third is a 4-way switch that controls one lighting fixture from three or more locations.
At the light box, you should have two ends of 12.3 Romex hanging out. One end comes from the first switch the other end comes from the second switch.First connect the copper ground wires together with a wire nut to get them out of the way, and then connect the two red traveler wires together with a wire nut as well.Now find the black wire coming from the first box and the white wire coming from the second box and connect them together with wire nuts. Now, this is important, you need to mark each end of the white wire by wrapping it with black electrical tape. This means you have made it a hot wire. This is a code requirement! It is common practice for 3 and 4-way switches.
Now, at the second switch, you will connect the red traveler wire to the top left terminal. The white, wire now labeled as black with tape, connects to the upper right terminal. The black wire will connect to the lower right terminal screw. The copper wire will connect to the box if it's a metal box or the green ground screw on the switch if the box is plastic.
The light box should now have a black wire and a white wire sticking out which is what you will need to connect the light to.