First, check the cogs and make sure they are installed in the correct orientation.
There are rams that aid shifting. If they are installed backward, the chain won't stop skipping (i.e. trying to shift into the next gear)
just take the cassette out, check while reinstalling it.