When there is more stimulation, there will be more polarization and depolarization occurring within the cells as they get generated. When the sodium channels are open from the electrical stimuli, it will open up channels that lead to influx of sodium for outside the cells, thereby gains more positivity. Then there is potassium channels that is negatively charged. So the potassium will force the closure of channels.