Thanks for providing more information.
Firstly at your young age,chances of cardiac pathology are less likely.
As you have sudden onset of pain in chest so it suggests the possibilities like Costochondritis(inflammation at the junctions of rib and cartilage),Gastroesophageal reflux disease,Muscloskeletal pain.
So you can try OTC Prilosec.
And do gentle massage with muscle relaxant ointment and apply warm compresses with a heating pad.
You can try Tylenol/Motrin after taking meals.
Avoid spicy food,fried food,carbonated beverages,caffeine.
If you develop severe pain,swelling,shortness of breath then visit ER for prompt management.
I hope this helps.
Please rate me highly (Star 5 Great Service), if you are satisfied with our conversation.
If you have any further query then feel free to ask.
Bonus and positive feedback are highly appreciated.