With your young age and assuming you have no other risk factors like
diabetes or hypertension or smoking you fall in low risk for probability of heart disease. Also the nature of pain you describe hints more towards musculoskeletal pain.
Sometimes post viral there is costochondritis where the chest pains at the place where ribs join the breast bone. These are self limiting and get better in few weeks
Next Steps
You can check blood
vitamin D level and chest X ray if pain is severe
Also a baseline ECG (more if the pain is worsened by physical activity)