Are cough drops safe to take during pregnancy?

I have a bad cough and wondering if cough drops are ok to take when you're pregnant. Any cough drops. Also got an inhaler from the pharmacy today doctor recommended it for me. First time sick during pregnancy so need advice over here