Its called frozen shoulder or periarthritis of shoulder.
Next Steps
Go to a physiotherapist.. Ultrasonic therapy +IFT +Heating therapy +exercises(most important) will be helpful.
Health Tips
At home.. Hot water fomentation and apply some painkiller gel +avoid side lying on same shoulder, no cold exposure +no weight lifting +avoid jerks to the shoulder.