According to your question , your pain may be musculoskeletal origin/referred from chest.. though proper assessment is required to diagnose.
Next Steps
first you visit to a cardiologist. he can guide you.
Health Tips
avoid taking medicine before direct consultation