Thanks for your question, and sorry to hear about your recent illness
. Upper respiratory tract infections are quite common, and usually respond to good hand hygiene, lots of liquids, and rest. Unfortunately, they can sometimes lead to other problems. Commonly, a viral illness can lead to a problem with the lungs such as bronchitis
or even pneumonia. Usually, this sort of thing will happen after a brief period of several days of a viral illness syndrome, and will then be followed with more severe symptoms such as you may be describing. Unfortunately, this sort of problem often requires more than just rest and hydration, and may need to be treated by a doctor
in order to return to fully recovery without having other complications of the illness. For that reason, it is good to speak with your doctor early if you feel like you are taking a turn for the worse after starting to feel better. There are other things that can cause chest pain as well in people that are coughing. It is somewhat common for people to pull muscles in their rib cage if they are coughing too much, and sometimes even break ribs. Again, please speak with your doctor about your question.