is infection of the lung tissue.
It may be due to bacterial infection.
So it needed a course of antibiotics.
Do a Sputum culture
and sensitivity and based on the report choose the suitable antibiotic for complete cure.
follow it with a repeat X ray
after the course of antibiotic to see the improvement.