How do i recover taxes paid to the wrong state by my pension plan administator

I live in NC and my pension distribution sent taxes to NY state instead