Benadryl for three month old?

My 3 month old has a horrible cough and sounds Horse we took her to the dr today and she told me to give her 1 ml of Benadryl once a day I want my baby better but I feel horrible about giving her medicine so young when I barely take medicine myself. Has anyone else have there young baby Benadryl? Should I or shouldn’t I?