Is it safe to take ondansetron

Maria
Hi
Ladies i wanted  to know is it safe to take ondansetron during pregnacy am 8 weeks