Crew were removing walk way flooring of the rig. Trainee driller was under the deck on a 6' A frame ladder loosening bolts when the ladder kicked out from underneath them. EE put a gloved left hand out to stop themselves, and the hand made contact with the steel casing rails and cut the left palm open. EE received 8 stitches to the left palm and was released back to full duty.