Cough syrup and Motrin at the same time?

I gave my daughter Zarbees naturals baby cough syrup + mucus not too long ago and now she has a fever. Is it okay to give her Motrin or should I wait?