Baby has a dry cough

My baby is nearly 7 months and he has a dry cough. No symptoms of sickness or illness, it doesn’t bother him but he coughs every so often and has been happening for days. He goes a few hours without coughing and then it happens again. What could it be/what can I do?