Epic Cramp

Hi there Is epic cramp - you know almost spasm like cramp a side affect of RA? Ive been having the most painful cramp in one foot / its like a rope is pulling my big toe in one direction. There seems to be nothing I can do at the time but ride it out for probably a minute but it feels longer. Any advice gratefully received as to how it can be avoided or what to do when it happens. The pain is like a 9 on the 1-10 scale.