Hello
You feel pain in stomach particularly during examination i.e. due to tension .
You feel better when in your house i.e. no tension .
In such type of condition you take pantaprazole+
domperidone .
Any medicine without advise of doctor is dangerous for health and life.
In my opinion these few measures may be useful for you.
Avoid certain foods producing hyper acidity like pizza, burger, oily , spicy foods .
Also avoid alcohol or drinks with caffeine in them .
It might also help to avoid eating or drinking for 3 hours before you lie down.
Tension is another reason of such symptoms .
You may have hyper acidity or
Hiatus hernia , diagnosis can be confirmed by upper G I
endoscopy.
In my opinion consult a physician and get his opinion.
Hope this will help you.