You haven't mentioned about your age.
Anyway I will tell you in general.
Home remedies and Preventions:
Avoid lifting over weight
Do not sleep on affected limb
Do exercises regularly(for exercise see below)
Apply hot water fomentation
Walk by swinging both the arms
Visit doctor for physiotherapy treatments like waxbath,IFT modalities.
EXERCISES FOR SHOULDER PAIN:
Hold one end of a towel with one hand and the other end with other hand and raise your arm to 90 degree without bending your elbow.
In forward bending position,with normal hand resting on table or chair,gradually swing your affected arm like a pendulum and later carry out a rotational movement.
Wall climbing exercises:
You can place your arm in wall without bending your elbow and gradually climb up and down the wall with your hand.
You must do it in both the directions
1.facing the wall
2.facing sideways of the wall.
These exercises provides best results after hot water fomentation.
Do each and every exercise for 10 counts thrice daily(you may increase it gradually)
For more exercises like wheel exercise,pulley exercise visit your nearby physiotherapy department since you need some equipments.