keypad not working

My slide in range just recently began acting up. Some of the keys on the keypad no longer work. Also the oven appers to "lock up" after running for a while and none of the keys will do anything. I actually have to turn off the circuit breaker to shut down the oven. If I change the clock/EOC will that also fix the keypad problem.
Thank you.