Chest pains due to anxiety
happens and they are to be ignored.
But you must make sure that your chest pain is due to undue anxiety.
Consult a physician and get an ECG and TMT (if necessary) done to confirm that your heart is working find.
Then follow a healthy life style and avoid anxiety and tension.