You are having pain in your groin area because you are having muscle tightness on your hip adductors (muscles than pull the thighs to the midline). Walking becomes painful because your hip adductors are actually restricting the movement. To address this pain and tightness, first apply hot packs over the area for 20 minutes. This helps relax the muscles. Heat also addresses the pain. Perform some stretching exercises on your hip adductors.
Please check this link:
For shoulder pain, you can also apply hot packs for 20 minutes and perform some exercises. Please check this link: