Is pacifier safe for a month old newborn?

B&F

My newborn sometimes throw up milk

Is it safe to use pacifier

She doesn’t give it up all night and im worried