Thanks for coming to HCM. You can take some cough
lozenges and hot water gargles. Apply hot fomentation to the chest area. Possibly it's due to muscle pull while you had cough. I am assuming here that you took all doses of antibiotics prescribed. It should get better in 2-3 days. If it persists or pain worsens or new symptoms occur, please contact your local doctor.
Wish you speedy recovery!