I need a w2 for a company I no longer work for

There was a lawsuit and we got a small amount of money. I’m applying for unemployment from my present employer. When I went online and saw my previous employer I deleted it and then I found out I need that information