Gastric discomfort from the chest to stomach in early pregnancy is usually acid reflux or gastritis. This tends to get more noticeable as pregnancy advances. Pantoprazole is an acid-reducing medicine. It's commonly used in pregnancy, including the first trimester, when a doctor feels it's genuinely needed.
Next Steps
You can continue it exactly as your doctor prescribed it. Eating smaller, frequent meals, avoiding spicy or oily food, and not lying down right after eating also help with the reflux.
Health Tips
Go back to your obstetrician if the pain gets worse, you keep vomiting, or you notice any bleeding.