If you are having both chest pain and headaches then it does suggest it to be of a vascular origin rather than any other issue as such. One example is migraine. but this could also be a result of anemia or even anxiety disorder. Nevertheless cardiac problem should be ruled out first and then subjected to further investigations.