Thanks for writng your query.
After reading your post, it seems that your pain is due to muscular pain
as a result of coughing.
You should take antihistaminic like Fenofexadine
120 mg once a day to decrease the cough.
Pain can be relieved by hot fomentation or by taking mild pain killer like Paracetamol
You should also get investigated for :-
1. Complete Blood Count(CBC).
2. Absolute Eosinophil Count
4. Chest X-Ray(PA iew).
Bronchodilators may be started after discussing with your doctor.
If the symptoms persist, get yourself examined clinically.
I hope this is helpful to you.