I understand the first bet considering you got a part of the flop, you kinda raised for information and with some luck the guy could've folded. But he called, and fired a bet into you in the turn, i would've folded right there considering you had bottom pair and few outs.