If the electrode that is next to the burner is sparking when you turn on the burner check to make sure that the tip of it is clean.
Can you supply the model number of your range?
You can find the model number on the frame of the range where the drawer closes.
If you need a new electrode you can get
appliance parts here.