You need to be evaluated by a doctor to determine the etiology of your shortness of breath.
There are many treatable causes of shortness of breath and you may need testing, like pulmonary function testing, arterial blood gas, etc. To diagnose the cause of this symptom. If severe, you should go to the er. Once diagnosed, you can be treated so you can remain physically active.