Yes , you can get chest pain from gastritis due to acid reflux .
Next Steps
Doctor might have prescribed you medication for gastritis , you can continue that and be sure you avoide spices , alcohol, smoking . Srink plenty of fluids , regular small meals