Stomach pain when waking up?

Possible ulcer. You may have a stomach ulcer, especially if pain improves after eating.