Yes, he meant Costochondritis , the inflammation of the cartilage, and pain caused by costochondritis might mimic that of a heart attack or other heart conditions.
What to do for now? Take the prescription from your doctor, they're mainly anti-inflammatory drugs and pain killer. Apply heat or ice. Rest a lot, relax and wait.