It would depend on the age of the toddler.
For a toddler of 1 year of age or older you can force liquids such as apple juice or water.
You can also make some homemade cough medicine for your toddler to help get rid of the toddlers cough.
You can also give your toddler of 1 year or older a spoonful of honey as a homemade cough medicine.
Also keep a humidifier or vaporizer going in your toddlers bedroom or playroom or any other room the toddler spends a lot of time at.
Don't give honey to a baby under 1 year of age.
You can also buy over the counter cough syrup for your toddler to get rid of the toddlers cough.
Since a toddler could easily choke on cough drops you should not give a toddler any cough drops but the liquid cough syrup made for toddlers is okay.