welcome to healthcare magic
from the description of your symptom, you could be suffering from hyperacidity
which brings about headache, chest and back pains,
yes you could be suffering from anxiety
attack or panic attacks.
i would suggest get reviewed by your physician and get yourself fully investigated and be given appropriate treatment.
hope to have answered your query