Another thing that helps, but is only usually practical at home - have a bowl of hot water nearby, and immerse your hand in it for a while when the pain starts. It needs to be as hot as you can stand. My doctor suggested it, and it works.