Safe ?

I don't really eat as much due to really bad nausea but i still gain weight my dr doesn't really say anything about it is this normal/safe ?