Zofran every night

So I have the severe morning sickness and my doctor gave me zofran and I’ve had to take it every day it makes me feel bad like I’m putting too much medicine into my body but if I dontI throw up everything at night is it bad to keep taking this so often ?