Need more information regarding pain nature. Exact site, duration, whether relieved by medications and which type of medications you are using Etc.
The pain you are telling most probably due to heartburn. It may also be due to costochondritis , Vit D3 deficiency.
Next Steps
For further consultation regarding this case you can consult online or reach out clinic