I'm assuming you're making a platform game.
First, see if the "Solid" box for the wall/ block object is checked (at the object properties).
Then, see if the actions for the player object (when it collides with the wall/ block object) are put in the right order: the "vertical speed" one should be under the "Move to contact" one.
If the first two didn't work out for you, you should try :
"Maximum= -1" at the "move to contact" action.
Maybe it's because in the Step event for your player object, you changed the maximum falling speed to a value higher than 12.
If (for example) you used 15 as maximum falling speed, then you should also put in 15 at the "move to contact" action (for when the player collides with the wall/block).
I hope this helped :)