Blood in sputum is a serious issue .
It could have several reasons , if its acute and symptoms since few days then could be due to viral pneumonia and mostly nothing to worry about and self resolving.
But if its since over a week then consult your nearest doctor and get tested and start treatment.
Next Steps
Visit nearest doctor and get tested
Health Tips
Avoid spicy and hot food