The pain is of musculo-skeletal origin.
Kindly take analgesics like Diclofenac+ apply muscle relaxant
You can also apply ice over the area.
The pain will take some time to relieve.
If it still persists, kindly get X ray
of chest done to rule out any fracture
There is no need to worry, you will be fine.
Wishing you a good health