Thanks for your query.You have repeated episodes of passing blood in sputum,You were treated with antiiboticas and subsided completely However since you are getting it repeatedly you need to get investigate thoroughly
please do following investigations done.
1) Haemogram with ESR
2) X-Ray chest
3) Microscopic examination of sputum for AFB (To rule out Tuberculosis
Once you get al the reports consult some chest Physician for clinical examination and further treatment.