An employer must give you a w2. Call them and explain that they are required to give you a w2 and the next step is to report them to the IRS.
If you can't get a w2, you can file a substitute w2 using form 4852. The form 4852 is a last resort. This is what the form says:
If you don’t receive the missing or corrected form from your employer or payer by the end of February, you may call the IRS at 800-829-1040 for assistance. You must provide your name, address (including ZIP code), phone number, social security number, and dates of employment. You must also provide your employer’s or payer’s name, address (including ZIP code), and phone number. The IRS will contact your employer or payer and request the missing form.
Because of this, you cannot e-file a return with a 4852, it must be mailed in.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"