Every child reacts different to different discipline.
My first just needed to hear gentle words and never did the offending action again - ever.
My second did not respond to words or hand slapping or spankings, so we used the naughty mat. He was hard. I would place him there (firmly, but gently) and he would get up....over and over and over, so I had to be consistent and put him back on the naughty mat 27 times in a row, until he finally stayed. The next naughty mat visit took me 8 times for him to stay, the next was 3 times and on the 4th time, he stayed with the first placement. This worked for him.
My third could care less about the naughty mat or words, so she responded to spankings. Her first visit to the naughty mat was at a year old - and she knew what she was doing. Sometimes the naughty mat words now that she's 4. The only thing that works for her mean mouth is soap.
My fourth is 17 months and responds to a gentle hand slapping, but he screams like you almost killed him. (This is also the scream that gets his siblings in trouble when they annoy him.) Words work some of the time, but if it doesn't, the hand slapping does....immediately.
We never discipline out of anger. If we are mad, we have them sit in their room until we can discipline them fairly. All of our discipline is ONLY after firmly telling them NO and explaining the danger, etc.
Good luck. Remember, what works today may not work in 6 months. Just go with it.