Unisom when pregnant ?

I'm really nervous about it but my morning sickness is so crazy I'm worried about the nutrients that my baby may not be getting. I've been taking half of 25mg doxylamine before bed. I'm really nervous about it 😞 but it's the only thing that's been working