Waking up with nausea

I've been waking up at 3 am every night so nauseated and hungry at 3am for days now even if I have a snack before bed I've never been one for breakfast so I have no idea why I get like so. Did this happen to anyone?