High-pitched cough, side pain when walking, and coughing, memory loss and feels like not getting quite enough air?

Get seen . If you are having side pain with your cough and a feeling of shortness of breath and memory loss (which could be from inadequate air exchange with lower o2 levels and higher co2 levels), get seen immediately.