the answer is always the best five card hand, in all situations. doesn't matter whether you're talking about a flush, or four of a kind (say the board has four of a kind - your kicker matters!)