toddler coughs?

My 2 year old has had a cough for about 2 days now, it's not really bad or anything but when should I take her to the doctor if it doesn't clear? Her dad also got a cough about 5 or so days ago so I'm thinking she's caught it off him. She will cough maybe 5 or 6 times a day and a few times during the night but whem thinking she maybe has a cold, which doctors wouldn't treat so how long should I wait? She isn't eating as much but still a decent amount and getting lots of fluids and pain medicine (she seems hesitant to swallow sometimes and to keep her temperature down.) Apart from the cough she seems like her normal self I just worry alot since she's my first child