Mucinex dm

Can I take mucinex dm for a bad cough at 37 weeks??