Are these safe?

My pharmacist told me they are. I'm almost 17 weeks. My doctor said dramine is safe but it gives me headaches