How To Prevent Hyperemesis?!?

I suffered before with hypermesis so bad I had to be hospitalized & put on medication how can I prevent this is it possible?!?