You should have an xray chest Anteroposterior view and lateral views to acess for the lungs.
If it is pneumonia
causing pus or it may be due to Tuberculosis
causing pleural effusion
If there is pus in the lung have diagnostic pleural fluid aspiration to check what type of effusion is that.
For intermittent wheezing use albuterol
in inhaler for intermittently for wheezing.
Workup for pleural fluid includes Routine examination, Cytology and Zn staining.
It may be tuberculosis causing pleural effusion and wheezing and have workup for that.
I hope I am successful in solving your query if you have more you can ask me.
Dr. Azhar Sattar