Hello there, Don't worry the chest pain might be due to deposition of cough, which may sometimes lead to pain. You need some antibiotics to clear your cough and some blood issues and pain will also stop.
Next Steps
Do consult online, don't worry you will be fine with the Medication.