You need to see a doctor. In rare instances more serious complaints can be covered by infection and cough, including pulmonary embolus...clot, which can happen in younger women.
Pneumothorax also must be ruled out.
What is your height and weight? Do you take birth control? Are you a smoker. Let me know if you have more detail.
Use reply to let me know if you have further questions. Please to not forget a positive rating.