Zofran?

Taking zofran while pregnant-I’m only 7 weeks my doctor put me on that and bonjesta? Is zofran safe? I hear mixed things and it freaks me out...