Thanks for writing your query.
It seems that you had a muscle pull at your shoulder joint.
You should give proper rest to your shoulder. Do not lift heavy weights from that side.
Pain killers like Diclofenac
50 mg twice a day after meals along with antacid like Omeprazole
20 mg along with muscle relaxant
2 mg twice a day for 5-7 days will provide some relief.
Take medicines under medical supervision only. Hot fomentation and application of local pain relieving gel will be helpful.
is very beneficial in such cases.
If the problem persists, get yourself examined by an Orthopedician.
I hope this is helpful to ou.