Brenda, maybe a call for repair, as you said, gas and electricity not a good thing.
Found this:
How do you fix a gas stove that won't stop clicking?
If your gas stove keeps clicking even when it's off, it can be pretty annoying. Thankfully, it's rarely a harmful issue unless you smell gas. If you smell gas while your stove is clicking, turn off the gas, unplug the stove top, evacuate your home, and contact your utility provider.
To fix your gas stove, you must first identify the issue at hand. The most common issues include something blocking the igniter (causing it to click endlessly) or an unaligned burner cap.
You can fix a blocked igniter by using a small item like a metal pin or a needle to dig the blockage out. An unaligned burner cap should be removed and replaced so that it sits squarely in the middle of the burner.