If your stomach is constantly painful, you need GI evaluation.
You may have an ulcer or ca of the stomach. If you are have esophogeal pain which is similar or frequently called heartburn
, much the same evaluationj is needed. You need to get to the bottom of what's causing the pain!