Why does it hurt

I've noticed that when I breathe in really deep it hurts my shoulder and my neck like really bad. I have asthma and I just got over a pertussis but I'm still coughing a little bit because of chest congestion, is this something to worry about?