How can I file my previous years taxes?

I have all the W-2s and 1099s but I can’t figure out how to do it.