Twitching during tattoo

du

I just got my first tattoo, it was 5 hours and litterally the whole time I was twitching uncontrollably. I also got the cold sweats and started shaking because I was cold.

Any advice to help myself not twitch or squirm so much?