Hi.. Only an examination from the doctor can tell you the exact cause for the chest pain.. What is your age??.. Hot and spicy food can cause symptoms of gastritis which can show as chest pain.. But so will a heart problem.. The good news is that usually the symtoms of heart pains usually last long and are preciipitated by exetion, so i would suggest you to modify your diet and restrict caffeine consumption... If problem persist, then consult a doctor..