To compare two hands with two pairs, start by comparing the highest pairs of each hand. If these are the same, compare the lower pairs. If both players have identical pairs, the highest fifth card, or kicker, determines the winning hand.