How can i download a copy of my 1040 from previous taxes?

I need my 1040 not my w2.