Hello sir,,, as you are having chest pain when you press chest, It might be due to somatic(bones or muscles) cause associated with rib, which is due to bad posture you practise while sitting or related to occupation. Consider sitting with back straight, and practicing yoga or stretching exercise will relieve pain, if it continues consider getting Ecg done.
Gastritis, constipation tells, you should look upon healthy food habits. Having meals at regular intervals and less spicy food avoids gastritis, high fibre diet (viz,,, vegetables, fruits)and enough water relieves constipation.
At last any chest pain shouldn't be considered lightly after age of 40 or earlier if associated with hypertension or obesity or
diabetes or any family history or history of smoking or other health injurious habits, at that time get Ecg at earliest If possible ecocardiogram too.