Hello
The symptoms you described, such as shortness of breath, rapid heartbeat, and pain in the rib cage, require a quick examination by a specialist doctor to examine the condition and determine the real cause of the symptoms.
My wishes for a speedy recovery.