How do you deal with back/neck pain?

A good basic rule is lower the keyboard, raise the screen. (So your wrists and shoulders are relaxed and at a good angle, and your back is straight, and head is up. Not easy if you are using a laptop!