Double counting W-2s NJ & NY

How do I prevent the system from doubling W-2 amounts.  I followed 2 recommendations without success.