Shoulder exercises can be useful in the treatment of many of the common causes of shoulder pain. These exercises are also part of the usual rehabilitation from most any shoulder surgery. Shoulder exercises should be performed under the direction of a physician to ensure the proper muscles are being targeted for your condition.
Shoulder rehabilitation focuses on two important aspects of shoulder motion: flexibility and strength. Without an adequate range of motion, many common tasks cannot be performed. Patients commonly experience shoulder stiffness when they have difficulty reaching behind their back, buckling a seatbelt, or combing their hair.
Source: Verywell Health