I would have probably folded PF.

But, I don't like the flop call, I'd rather raise. IMO it's not a great flop to CBet, therefore it's a reasonable flop to raise a CBet on. If he has an over pair or set and shoves or re-raises and you can exit gracefully. Or if he calls, you can shut down if unimproved.

I've taken hands like that too far and lost too much. I try not to do that anymore. It's better just to find a better spot.