Cough with phlegm

Hello.

I have been poorly since Christmas. Started with a cold and feeling rubbish and then the cough. It’s been nearly 2 weeks now and sometimes the cough is a little dry but mostly I bring up green snot (sorry only way I know how to describe it) I am still feeling snotty but when I blow my nose it’s now clear. The last couple of mornings the first time I blow it is streaked with blood but not any other time. The cough is not constant but I have little dots of it throughout the day. I don’t have pain or wheezing and GP checked and said it’s fine and clear. My sp02 is 97/98. So that’s good. I am convinced I have pneumonia or lung cancer . I am feeling crap and have had headaches for last 2 days and hot flushes but fine when I take my temperature. I just have no motivation or energy. Any advice plz xx