You may have injured some muscles while throwing. These muscles are called rotator cuff muscles.
Next Steps
You should apply ice pack twice or thrice in a day. Also apply volini or voveran gel. If it does not subside visit an orthopedic or physiotherapist.
Health Tips
Avoid jerky movements. avoid sleeping on that side of the shoulder. avoid carrying heavy weights