My name is incorrect on my w2 do i file it correctly

my name is spelled incorrectly on my w2 when I file should I file it with the correct name and will it affect my filing?