Ice pain. I've us a good simple way to reduce pain combined with stretching strengthening of other muscles NSAID and proper diagnosis.
Tendonitis. Ice can help certainly with acute injuries to help combat blood vessel dilatation and inflammation. More chronic tendinitis may be better treated with heat. For shoulders in particular you may want to consider heat before activity or exercises and ice following at 20 minute increments.