Your best be is to ask your employer to provide you another copy of your W-2. If they can't do so in time to file, then file an extension. See this FAQ for some other options on what to do if you don't have your W-2:
https://ttlc.intuit.com/replies/4192470