Drinking pineapple juice helps me - there's apparently some acid or something in it that acts as a muscle relaxant. Other people I know have had success with commercial muscle relaxants, though I'm not much one for taking pills. The idea is that if you can get the uterus to calm down and stop clenching, it hurts much much less.