Phenergan?

Alice • Trying for baby #2
Has anyone's dr prescribed them phenergan for nausea? My dr did but it's profile looks risky to take during pregnancy