Here's a couple of tips from Harvard on how to keep your hands pain free. And let's face it, most of us don't think about them until they hurt...
It’s a good idea to have an ergonomic evaluation of your workspace to avoid repetitive strain injuries. If that’s not possible, the following tips may help:
Keep your wrists in a neutral position, not flexed downward or extended upward, when using your computer. To check, place your wrist, palm facing down, on a flat, hard surface. Put a Band-Aid lengthwise over the top of your wrist, and then move to your keyboard and type. If the Band-Aid stretches or goes slack, your wrists aren’t in a neutral position.
Get up from your desk and stretch at least once every hour. In between, take shorter breaks to rest your hands, palms up, on your lap or on a wrist rest. You can install software on your computer that reminds you to take micropauses or rest breaks and restricts your daily time on the computer.
Be skeptical about new keyboard configurations (such as split keyboards) or mouse designs claiming to be ergonomic. It will take many years of study to learn whether such changes translate into fewer work-related upper-extremity musculoskeletal disorders.