What would cause a signal light to work sometimes?

I have a 2000 olds alero and the signal light only work sometimes, What would cause that?