Amending a prior tax return, do i use the last name on that return or my current last name?

I am confused on which name to use, because I will be getting a refund check, and I don't use the last name anymore.