EE was holding slide gate in place while other mechanic attempted to knock it in while using a sledge hammer. The other mechanic swung the sledge, and it slipped off the slide gate and made contact with the EE causing an abrasion to the left hand. EE was taken for medical evaluation and given modified duty, antibiotic and pain meds.