At the first sign of any pain I try to identify the cause. It's almost always ergonomic related.
The most useful stretch/exercise I do is pushing my hands together, palms flat against each other, in front of my sternum with my fingers pointing up, out, and down for ~30 seconds in each position, once or twice a day.