This morning after brushing my teeth I cough out some phlegm which has been something usual for me since I last got sick a few months ago, but this time the phlegm was bloody. After a few hours I noticed that I had small dry flakes blood on one of my nostrils. After noticing that I spit out not from the saliva in my mouth but I forced some from behind my throat and noticed it was bloody as well.
Thanks for your question on Chat Doctor. I can understand your concern. You are having hemoptysis (blood in sputum). It is commonly seen with lung infection, bronchitis, tuberculosis, lung cancer and upper respiratory tract infection (pharyngitis). So better to consult doctor and get done 1. Chest x-ray to rule out lung infection, tuberculosis, lung cancer etc. 2. PUT (pulmonary function test) to rule out bronchitis. 3. Clinical examination of throat to rule out pharyngitis. Since you are having blood on pharyngeal wall, possibility of pharyngitis is more. You will need antibiotic, antihistamine and anti-inflammatory Chat Doctor.  Do warm water gargles 5-6 times a day.