Raise like you've got a pair preflop
Raise like you've got a pair on the flop
Bet like you've got a pair on the turn
Calling the river at that point is the only option since you gave him a bazillion free/cheap cards