This was a double-blind , randomized , controlled trial in which women with nausea and vomiting of pregnancy were assigned to 4 mg of ondansetron plus a placebo tablet or 25 mg pyridoxine plus 12.5 mg of doxylamine for 5 days .