Hello Ajay and thanks for writing in at HCM
is disease related to the inflammation of the lungs due to infection like bacteria, virus etc.
The recovery time and the complications and seriousness of the depends on the area of lungs infected. Larger the area infected more serious is the disease.
The medication required for this is the antibiotic course with other supportive treatment like Oxygen
or antipyretics etc depending on the associated symptoms. But a complete course of antibiotic is mandatory until the patch of the pneumonia is resolved.
Now about the vaccination
their is no vaccination available for this. Precautions you have to take are keep a hygienic area, maintain the proper level of oxygen in the body, avoid oil, ghee and banana or other diet which cause cough, Take regular steam and nebulization with chest physiotherapy
Hope you got all your answers.