welcome to HealthcareMagic
The pain in right upper chest when you cough or deep breath can be a muscular pain;due to costochondritis or due to some internal infection like pneumonia;TB etc.But since you have not mentioned any other symptom it can be more of a muscular pain.Just in case if you have fever;cough for more than a week please get examined & treated or else just a simple pain killer will reduce the pain if it is muscular.
I find this answer helpful
You found this answer helpful
Disclaimer: These answers are for your information only and not intended to replace your relationship with your treating physician.
This is a short, free answer.
For a more detailed, immediate answer, try our premium service [Sample answer]