It seems like more of muscular pain. If any muscle relaxant is helping then it is confirm that it is muscle sprain or pull But if there are other complaints like cough, breathing difficulty need to check out with chest physician.
Next Steps
Visit your Doctor, may be a X-ray may help to know whether there is some respiratory system disease.