Well now lets not get the horse ahead of the cart here.
The coughing will also cause the pleural area to ache and hurt. This can be in your back as well as your straining muscles when you cough to the degree one does when they have COPD. Best advice is to go have a Chest X-ray and be checked for infection of the lungs. let me know if I may further assist you. And do not get over worried yet. It sounds to be an infection.