Having chest pain can be scary. It does not always mean that you are having a heart attack. There can be many other causes of chest pain, such as lung or digestive problems.