Hello, Welcome to JustAnswer and thank you for your question.
Do you have any previous medical issues ?
are you taking some medicine ?
Does this pain increases when you move or do some activity ?
What makes this pain go away ?
Does it gets worse when you cough ?
When this pain started ? how long ago ?
How long it stays ?
exact location of this pain ?
Does it hurts when you press the pain area ?
any tests done ?
As online it will be impossible to give exact diagnosis as you have not tests done. There are 4 main causes that can cause chest pain
heart, lungs, gut and musculoskeletal.
Your symptoms are more like pleurisy. or in simple words inflammation of the lung covering.
Main features of this problem are...
occurs mostly after chest infections,
increases with cough and respiration
sharp in character.
comes on and off
So it is more likely to be pleurisy.
In most cases it is self limiting, painkillers over counter can help
Chest X rays are also needed for this.
mostly normal but done to rule out lung problems.
You have questions ?
I hope chat has helped to make a plan for further action on this problem ?
You are welcome.
Kindly rate my answer as excellent if you have received your answer, you can always come back for more questions on this chat anytime.
Have a nice day.