Woke up choking

Last night I woke up choking. I think I choked on my spit but my chest hurt bad and I couldn't stop coughing. This morning when I swallow water or food my chest still hurts like it did after I was choking. Is this worrisome or is it fine and will eventually go away?