I didnt live in New York nor work for a New York based company for 2022 but there is NY SDI and NY PFL. Neither of these should be charged. What do I do?

I did live in NY for part of 2021, moved, but forgot to change my residency for taxes until later in the year. How do I go about filing for a refund of the PFL and SDI? Any help is appreciated!