I stopped working at the end of February this year, and got married in October. Do I need to change my name on my W2 before taxes or do I just leave it alone?

Cant access site where I know my W2 will be available for me to download. But because I know longer work for this company its not letting me access my account.