After reading your query, it appears you have multiple complaints, I suggest you need to see general practitioner for comprehensive assessment.
For Chest pain
which was diagnosed as Costochondritis
, to confirm or rule out the possibility MRI
chest is advisable.
For Headache one MRI examination is advisable to rule out any organic cause.
As far as Cost of MRI is concerned you need to explore the local area for this.