Also, pay attention to your playing position. Wearing your guitar too low is a big invitation to carpal tunnel syndrome. Try to keep your wrist as straight as possible when fretting. Attempt to drink one 8 oz. The tissues of your body are composed mostly of water.
Dehydration inhibits the healing process.
Avoid caffeinated beverages and alcohol. These will dehydrate you. The stimulating affect of caffeine will also tense your muscles. Avoid working with tight, unstretched arms and shoulders. This will lead to further injury.