State tax filing

1. I am claiming standard deductions on my Federal return, (2) My father sold his house in New York in 2021. I live in NJ and I did not own the property. I only received a small sum from my father, but the attorney said I had to pay tax on that amount. So I paid the tax on IT2663. How do I claim the tax I paid now?