Your chest pain is most likely to be due to episode of cough you experienced. Dont worry
Next Steps
Steam inhalation twice daily will help you
Also gargling with warm salt water will help relieve your cough
Health Tips
Do get back to me for further queries.