Just fold on the turn. Ask yourself: what is he raising with here that you beat? If he called you on the flop with a T, he now has trips. He is not doing this with only 2nd or 3rd pair. There are only sets, trips, or badly played pairs higher than your own.