I have a canon cooking range. When I push the igniter button, its body gives an electric shock. What can be the reasons and how can I minimize the risks of getting those shocks?
I assume that the igniter is igniting the gas.
IF the shock is caused by the igniter piezo unit and
IF the igniter works
THEN it sounds as if the igniter IS grounded (at least locally) to the stove main metal work
BUT that the stove top proper is not.
Use an ohm meter (a DMM feature) to check DC resistance from bare metal on stove top to stove main body metalwork.
This should be a few Ohms at worst and probably under 1 Ohm.
IF the top is not properly grounded make it so.
Welcome to Electrical Engineering Stack Exchange. Depending upon your experience level, you may wish to have an electrician look at your situation. If you have sufficient experience, here are some things to check.
Check to see whether the outlet supplying the power to your stove is properly wired. Occasionally, line and neutral wires are accidentally reversed. That needs to be corrected.
Check to see that your stove is properly grounded to your wall socket, and that the wall socket ground is grounded to earth.
Check to see that the neutral wire is no more than a volt or two above ground. Check it both when there are no other appliances running on that circuit, and when there are heavy loads, such as a microwave or space heater running.
You should, in any case, check to see if you have ground fault circuit breakers. They are called something else outside of the US I believe. If you do not have ground fault circuit breakers, they are a good investment and could possibly save someone's life or prevent a fire.