Leading into the preflop raiser with top pair is a mistake; check-calling allows you to protect your range and catch bluffs.
Flop Analysis
Leading (donking) here is a significant error. We should check our entire range to the preflop aggressor, as they hold the nut advantage with overpairs like JJ-AA.
Note: Leading into the preflop raiser is a range mistake; check-calling is higher EV to protect our checking range and realize equity.
Turn Analysis
The 3c is a relatively blank card, but doubling down on the lead is problematic. We are bloating a pot with a hand that is now a bluff-catcher against a polarized range.
Note: Continuing to lead on the turn further polarizes Villain's continuing range toward hands that beat our marginal top pair.