Coughing up blood can happen for a number of different reasons and can be a sign of serious underlying disease. It is best evaluated and treated by a primary care physician
Coughing up blood can be caused by many different infections, including pneumonia, bronchitis, and tuberculosis. It can also be due to problems with the blood clotting in the lungs, either when the blood clots too easily or not well enough and is too thin. Sometimes heart disease causes too much fluid to accumulate in the lungs and leads to coughing up blood. However, the most concerning and serious cause of coughing up blood is lung cancer.
To differentiate between the different causes, a full evaluation is warranted. Your doctor will want to know how much and how often you are coughing up blood as well as any problems with your breathing and your heart. It is not possible to come to a diagnosis without examining the patient. It is therefore recommended that you see your primary care physician or get a referral to a pulmonologist.