Whether you stick to an exercise regime is dependant on the severity of your shoulder injury and your doctor's advice. There is no reason to stop exercising altogether, but it may be that you need to adapt your workout to ensure the shoulder can remain protected.