However it can be due to infection, blow, injury, or fibromyalgia. It usually
goes away on its own. Otherwise it can be treated
with muscle relaxants, and non steroidal anti inflammatory drugs. It can also be muscle pull. Shingles can also start this way.
Pleuritis and Pulmonary embolism are other possibilities causing shortness of breath with chest pain. A CT scan of the chest can rule out both. Another possibility that can explain the pain is pericarditis.