Removing dents from oil pan

That’s what I said, see it’s confusing!
No you said "hitting the pan" which eludes to hitting the pan with the hammer since the hammer is the tool for hitting. lol