State tax filing

I had Income from Delaware and lived in PA and DE, also had income from PA source while living in PA and DE. So not sure to handle income entry?