Unexpected advice!!! weed and pregnancy!?

I have really bad nasuea I've tried medicine and different things, and I was recently told to smoke some weed? is this even safe for the baby I'm 2 months along, I've never heard of this. suggestions or advice anyone?