What happens when you get muscle pain in the chest wall?

Hurts. Muscle spasms can occur in the chest. May need some painedication for relief.
Make sure. You got to make sure it is just a chest wall pain, and nothing more serious, and if it is just a chest wall pain then rest ice and anti inflammatory meds will help.