Windows 7 Keyboard Stops Working Randomly

I am currently using a USB mouse and keyboard with my computer. The system has worked for me for several years now. Since yesterday though, Windows 7 keyboard stops working randomly. This is causing a lot of problems. What should I do?
