Stress test.. A big part of this has to do with the nature of the pain.
Pain that comes and goes in 5 -15 minute waves, is dull or constricting in nature, with shortness of breath nausea and/or sweating, that exists primarily below the breastbone and/or radiates to the front of left shoulder/ pects, up to left jaw and down the pinky/arm pit side of arm.. Often With numbness in pinky finger is the worst sign.
If this pain\discomfort is made worse with exercise or only exists in exercise thats a bigger problem.
All you can do is eat healthy, stay active and be aware of the warning signs. Never delay treatment for chest pain.. If youre unsure, get tested.