You really need to take care of you shoulder.. It could be the early stages of frozen shoulder..
Next Steps
Consult a good physiotherapist near you who can help you to diagnose what exactly is the problem and fix it
Health Tips
Put some cold packs on the affected area thrice daily to reduce the pain and avoid sleeping on right side