Doxylamine works by blocking histamine receptors in the brain, which helps reduce symptoms of allergies and nausea. When combined with pyridoxine (Vitamin B6), it forms a commonly prescribed medication for morning sickness known as Diclegis or Diclectin.