We want to study the impact of a sledgehammer and a wall.
Before the sledgehammer hits the wall, it has a given velocity and a given mass, so it has momentum and it has kinetic energy.
When it hits the wall, the velocity of the hammer disappears, this means that the energy is transferred to the wall, this "transfer of energy" can be thought of a force applied for a really short time on the wall, which for the third law of Newton, the force is also applied on the hammer.
This is why you feel the impact on the handle when you hit something with a hammer, this also means that some of the energy is dissipated on your arms.
Now, because the wall is made of a material usually not as strong as the head of the sledgehammer, we will see that in this interaction the wall seems more affected than the hammer, but the forces that each one experiences are exactly equal in magnitude.
If you want to learn more, you can read:
brainly.com/question/13952508