State tax filing

i live in Pennsylvania but work in New Jersey and i had to file two separate states