Bloating alone is often due to acidity or indigestion, but fast heart rate with upper-abdominal pain and weakness should not be assumed to be gas. Check your pulse and blood pressure and get an examination; an ECG and blood tests may be needed. Please share the attached reports and your complete symptom history through Practo so I can guide you properly. Avoid self-medicating until the cause is clear.
Next Steps
Go to urgent care now if the fast heartbeat is persistent or accompanied by chest pain, breathlessness, fainting, sweating, black stools or severe worsening pain. Otherwise arrange a prompt physician review.