Preflop
As I understand it, you limped, and he took a free flop. This is fine, but you could also go for a raise.
Flop
As I understand it, you bet, and he called. This is fine, but we need to know, how much to bet, in order to evaluate the turn action.
Turn
As I understand it, you bet, he raised, and you called. I think, this is a mistake. You can either check-call this turn or bet-fold. By bet-calling you are putting in to many chips with, what is essentially just a weak pair, even though its still an overpair to the board.