writhe

To twist and squirm around, usually from pain or discomfort.