Need to file nj1040nr

How do I file as a ny resident working in nj