Hi. Chest pain
might be due to cardiac causes, or even spasm of the muscles between the ribs. The important point here is to rule out cardiac causes as these kind of pain might be warning signs. Please consult a doctor and get a ECG done and other tests as suggested.