Although it is possible to hold a pair in your hand and then have another two pair appear among the five community cards, you can only use a total of five cards to make your poker hand, so you don't win anything for three pairs.