Don't kick it when it makes a mistake. You can whip it with a traction rope, or hit its head with your hand (so that your hand may swell) and say "no" loudly. When it is done well, it must also say "good boy" and give food rewards. Be patient and don't destroy it. After a period of persistence, it will know that if it does well, it will be beaten if it does not.
I wish you success!