Greetings, sorry about the pain. Just ice and massage the area. You pain will go away. Nothing significant medically has happened. It is just a muscle stiffness at thorax.
Next Steps
you can see a physio and learn how well to use your core and some strength program. physio can help with trigger point, massage if needed.
Health Tips
if any doubts do let me know.