Hi there ~
I understand your concerns. It is not uncommon to have cough
for 5 days and since it is improving you might want to wait for a couple more days before you take the baby to a pediatrician
to make sure there is no infection going on, in which case a dose of antibiotics might need to be used to help with the infection. I hope this helps.
Take care and have a lovely day!