I feel I have phlegm in the throat for 3 months, sputum occasionally, mostly in the morning. I had a blood stained sputum today, what could it be?

Get a check up. You may have conditions like chronic bronchitis or bronchiectasis or cystic fibrosis. Please call your doctor today to get an appointment asap. Good luck !
Tuberculosis. You need to see a physician soon or go to public health clinic where a sputum culture (including acid fast bacilli) and a chest radiograph. Other fungal diseases and bacterial diseases can also cause chronic bronchitis. Blood titers can be done for several of the fungal and bacterial disorders, but you physician will probably want to test you using a PPD (mantoux) test for TB and then prescribe.