@gollum,
You probably accidentally changed the codes for your devices. If you still have the manual for the remote, there should be a list of codes for various types and brands of TVs, VCRs, cable boxes, etc.
If you don't still have the manual, you can probably find it online on your TV manufacturer's website.
I'm assuming you've already tried fresh batteries in the remote.