try another bulb (switch each side).
next, make sure the socket is grounded
finally, if you have to, run a feed wire from functioning stop lamp over to the one that is not working.
if that doesn't work you need a new socket but you can play with it to make the circuit.
alan