You should stop working immediately and seek medical attention if needed. You should also immediately report the injury to your employer. If you are able, document the events leading up to the injury and record any witness statements. Taking photographs of the scene is also a good idea.