Im not pregnant what can it be??

So I've been waking up this past week with nausea. I know for a fact that I'm not pregnant though. What can i be. Im perfectly fine through the day but i wake up having to throw up. Should i go to the doctors.