Turn off your Mac, once it's completely off. Press the power button, and as soon as you hear the startup chime, hold down
Command-Option-P-R. You will see it turn off and on, let that happen for 2-3 time. After that release all the keys and everything should be back to normal
Let me know if...