Safe during pregnancy ?

I’m having a ugly cough and wanted to know if I can take this while pregnant? This is the only thing my pharmacy had