It looks to me that you are either have sprained your shoulder muscles or it can be a partial tear in rotator cuff
.I would suggest you to do hot water fomentation and voletran ointment and pain killer like Brufen
. If your pain does not subsides in one to three days then I would suggest you to get MRI
of the shoulder to confirm the diagnosis.