When a poker hand goes to showdown, you should always show your cards first if you were the last player to make an aggressive action (bet or raise). If there was no aggression on the river, the nearest player to the left of the dealer should show his cards first.