From Social Security? Do you mean you are getting Social Security benefits? You do not get a W-2 for that. You get a SSA1099 from them. They mailed them in January.
There is a way to go on the Social Security website and request one. Go to www.ssa.gov You have to create an account with a user name and password.
https://www.ssa.gov/myaccount/replacement-SSA-1099.html
https://www.ssa.gov/onlineservices/
https://www.ssa.gov/myaccount/
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**