Nauseous

I wake up some times in the middle of the night and I feel nauseous and try to keep myself from gaging and I just end up falling back asleep and i've also lost appetite and won't eat all day unless I forced myself but i smoke cannabis every day but it goes away a when I smoke what do I do?