Computer won't recognize my wireless keyboard or mouse, but they work on another computer



I'm not computer literate. All I know is that the keyboard and mouse were working for years and now they don't.
But they do work on other computers and my smart TV.