Hello from JustAnswer.
The acute symptoms is more likely to be infectious, as the vast majority of people with a temperature of 101 have an infection as the cause. If the fever has not been present for the 2-3 months that the cough has been present, it is more likely that there is another condition that caused the cough and now has developed a fever.
A cough that has lasted 2-3 months can commonly be due to allergies, but with the heartburn, there also should be consideration of whether the cough is due to acid reflux, as acid reflux can also irritate the throat and airways and cause chronic cough.
Regardless of whether the cough is due to allergies or acid reflux, the irritation of the airways could make it easier for germs to set up an infection, such as a bronchitis. In a non-smoker, the vast majority of bronchitis episodes are due to a viral
infection, although there are some atypical bacteria that also can cause a bronchitis. It is also possible that there could be a coincidental infection, such as a flu or upper respiratory infection, such as a cold, but there would usually be other symptoms present.
At this point, if you are feeling acutely ill, particularly if you have any shortness of breath, then it would be better to be seen. But otherwise, it would be OK to give it a few days to see if the fever and sweats resolve. For the chronic cough, you can try an over the counter antihistamine
, which can help if it is due to allergies, or a medicine to suppress stomach acid, which may help if it is due to acid reflux. There are many antihistamines, such as loratidine and cetirizine, and medicines to suppress stomach acid, such as ranitidine
If I can provide any further information, please let me know.