Thanks for your question on Health Care Magic.
I can understand your concern.
Chest pain on breathing is seen in
pleurisy (inflammation of pleura). And
lung infection is the most common cause for this.
So we should first rule out lung infection.
So get done chest x ray. If chest x ray is normal then no need to worry for lung infection.
Musculoskeletal pain also cause similar kind of long standing pain.
So avoid heavyweight lifting and strenuous exercise.
Avoid movements causing pain. Avoid bad postures in sleep.
Apply warm water pad on affected areas.
Start painkiller and
muscle relaxant drugs.
Don't worry, you will be alright with all these, but first rule out lung infection.
Hope I have solved your query.
Wish you good health. Thanks.