There could be a number of possible causes including a cardiac issue,
chest cold, inflammation, GERD, among others. If this was a one time incident and you have not had any other symptoms, then you can wait and see if it happens again. IF it does happen again, then you should be evaluated by your doctor. If the pain is ongoing, then you need to see your doctor and have this checked out. Good luck.