From history it seems that you might be having pleuritic pain, radiating to arm.
Smell you feel might be due to cough
or pleural effusion
Consult physician find out the cause of pleural effusion and go for treatment accordingly.
Meanwhile you may take some analgesic
tablet for pain.
Ok and take care.