After you have the accident it is important that you reach out to an attorney quickly so that they can start working with your physicians and accident investigators. Do not negotiate or sign any documents with the company or law firm representing the company where the accident took place. Even if they offer you a settlement it will only be a fraction of what you can get through proper legal representation.
The law is on your side in regards to on site personal injury. Workers should be able to conduct their activities in a safe environment. Even if the accident was your fault, it is the company's job to train your properly so that you can be safe when working their equipment.