Removing dents from oil pan

No you said "hitting the pan" which eludes to hitting the pan with the hammer since the hammer is the tool for hitting. lol
I said hitting the pan with the wood, driven by the hammer.