How long do you keep the rattlesnake card in Bang!
It stays in play and checks every turn until someone (most likely yourself) either Cat Balou's or Panic's it away.

Edit:

This thread on Boardgame geek has the same answer.