It wiil be of help if you mention your age and any previous medical history, if any.
I will also like to know whether you smoke or have any cold
or had some injury
on the right side of your chest.
Please get a X-Ray of your chest done.
Cardiac pain is usually on the left side or in the centre of the chest.
Your pain can be due to increased acidity or gas in the stomach.
Please get yourself examined and investigated by a medical professional.
I hope this is useful to you.