Heartburn and nausea

Lately I’ve had horrible heartburn and nausea. I will wake up like that and it will last pretty much all day. I know I’m not pregnant so that isn’t the case. Does anyone have any idea why this would happen?