Can I deduct the mileage that I drive to work? I am a union worker

I had been told no. Then was told yes.  I will need to go back in and amend my return.