Thanks for posting your query.
You may have common cold
(acute flu fever) or may have pneumonia
You should consult with physician and should go for chest x ray urgently.
In acute flu fever, patient may have chest pain
after recurrent coughing as the chest muscles gets exhausted.
In such cases, you have to take cough suppressants and muscle relaxants.
If your chest suggest pneumonia then you should go for complete antibiotic course with cough expectorant and in such cases you may have associated pleuritis
Dr. Mayank Bhargava