The pain may be of three things
1. Cardiac have an ECG for that
2. Lungs that is pleuritic chest pain
Have an xray for that. That is lower respiratory tract
infection can spread to the pleura
the outer covering of the lungs
3. Musculoskeletal that is inflammation of the costal cartilages known as costochondritis
that can be treated with simple pain killers.
You should have pain killers for that now that includes Tab. Ibuprofen
400 mg thrice daily for 03 days and have proper workup for the chest pain.
I hope I am successful in solving your query If you have further you can ask me
Take care and good rest
Dr. Azhar Sattar