The combination of doxylamine and pyridoxine is used to treat nausea and vomiting in pregnant women whose symptoms have not improved after changing their diet or using other non-medicine treatments. Doxylamine is in a class of medications called antihistamines. It works by blocking the action of certain natural substances in the body that may contribute to nausea and vomiting. Pyridoxine (vitamin B6) is a vitamin. It is given because a lack of pyridoxine in the body may also be a factor in causing nausea and vomiting during pregnancy.